github actions: Make github actions go1.16.3 tests blocking and remove them from travis

* Leave Go tip tests and coverage in travis as one is not yet supported
This commit is contained in:
Marek Siarkowicz
2021-05-10 12:15:08 +02:00
parent 6bc125c8d9
commit da33b4034f
2 changed files with 2 additions and 90 deletions

View File

@@ -1,9 +1,7 @@
name: Unit Tests
name: Tests
on: [push, pull_request]
jobs:
test:
# TODO: Remove continue-on-error after migrating from Travis to GitHub Actions
continue-on-error: true
runs-on: ubuntu-latest
strategy:
fail-fast: true
@@ -13,14 +11,12 @@ jobs:
target:
- linux-amd64-fmt
- linux-amd64-grpcproxy
- linux-amd64-coverage
- linux-amd64-integration-1-cpu
- linux-amd64-integration-2-cpu
- linux-amd64-integration-4-cpu
- linux-amd64-functional
- linux-amd64-unit-4-cpu-race
- all-build
- linux-amd64-fmt-unit-go-tip-2-cpu
- linux-386-unit-1-cpu
steps:
- uses: actions/checkout@v2
@@ -65,13 +61,6 @@ jobs:
PASSES='build grpcproxy' CPU='4' COVER='false' RACE='true' ./test.sh 2>&1 | tee test.log
! egrep "(--- FAIL:|DATA RACE|panic: test timed out|appears to have leaked)" -B50 -A10 test.log
;;
linux-amd64-coverage)
./scripts/codecov_upload.sh test-coverage.log \
! egrep "(--- FAIL:|DATA RACE|panic: test timed out|appears to have leaked)" -B50 -A10 test-coverage.log
;;
linux-amd64-fmt-unit-go-tip-2-cpu)
GOARCH=amd64 PASSES='fmt unit' CPU='2' RACE='false' ./test.sh -p=2
;;
linux-386-unit-1-cpu)
GOARCH=386 PASSES='unit' RACE='false' CPU='1' ./test -p=4
;;