22 lines
587 B
YAML
22 lines
587 B
YAML
# netxlite runs unit and integration tests on our fundamental net library
|
|
name: netxlite
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
jobs:
|
|
test_netxlite_package:
|
|
runs-on: "${{ matrix.os }}"
|
|
strategy:
|
|
matrix:
|
|
go: [ "1.17.10" ]
|
|
os: [ "ubuntu-20.04", "windows-2019", "macos-10.15" ]
|
|
steps:
|
|
- uses: magnetikonline/action-golang-cache@v2
|
|
with:
|
|
go-version: "${{ matrix.go }}"
|
|
cache-key-suffix: "-coverage-${{ matrix.go }}"
|
|
- uses: actions/checkout@v2
|
|
- run: go test -race ./internal/netxlite/...
|