diff options
Diffstat (limited to '.github/workflows/ci-build.yml')
-rwxr-xr-x | .github/workflows/ci-build.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 8b462f81..49d790f9 100755 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -11,7 +11,7 @@ jobs: matrix: php: [ 7.4 ] go: [ 1.14, 1.15 ] - os: [ ubuntu-latest ] + os: [ ubuntu-20.04 ] env: GO111MODULE: on steps: @@ -74,12 +74,14 @@ jobs: go test -v -race ./plugins/metrics/tests -tags=debug -coverprofile=metrics.txt -covermode=atomic go test -v -race ./plugins/informer/tests -tags=debug -coverprofile=informer.txt -covermode=atomic go test -v -race ./plugins/resetter/tests -tags=debug -coverprofile=informer.txt -covermode=atomic + go test -v -race ./plugins/http/attributes -tags=debug -coverprofile=attributes.txt -covermode=atomic + go test -v -race ./plugins/http/tests -tags=debug -coverprofile=http_tests.txt -covermode=atomic - name: Run code coverage uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - files: lib.txt, rpc_config.txt, rpc.txt, plugin_config.txt, logger.txt, server.txt, metrics.txt, informer.txt + files: lib.txt, rpc_config.txt, rpc.txt, plugin_config.txt, logger.txt, server.txt, metrics.txt, informer.txt attributes.txt http_tests.txt flags: unittests name: codecov-umbrella fail_ci_if_error: false |