summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml32
1 files changed, 16 insertions, 16 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 15bf57ae..4ba9fb3e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -59,22 +59,22 @@ jobs:
- name: Run golang tests
run: |
mkdir ./coverage-ci
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/lib.txt -covermode=atomic .
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/rpc_config.txt -covermode=atomic ./plugins/rpc
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/rpc.txt -covermode=atomic ./plugins/rpc/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/plugin_config.txt -covermode=atomic ./plugins/config/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/logger.txt -covermode=atomic ./plugins/logger/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/server.txt -covermode=atomic ./plugins/server/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/metrics.txt -covermode=atomic ./plugins/metrics/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/informer.txt -covermode=atomic ./plugins/informer/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/resetter.txt -covermode=atomic ./plugins/resetter/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/attributes.txt -covermode=atomic ./plugins/http/attributes
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/http_tests.txt -covermode=atomic ./plugins/http/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/gzip.txt -covermode=atomic ./plugins/gzip/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/static.txt -covermode=atomic ./plugins/static/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/static_root.txt -covermode=atomic ./plugins/static
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/headers.txt -covermode=atomic ./plugins/headers/tests
- go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/checker.txt -covermode=atomic ./plugins/checker/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/lib.txt" -covermode=atomic .
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/rpc_config.txt" -covermode=atomic ./plugins/rpc
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/rpc.txt" -covermode=atomic ./plugins/rpc/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/plugin_config.txt" -covermode=atomic ./plugins/config/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/logger.txt" -covermode=atomic ./plugins/logger/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/server.txt" -covermode=atomic ./plugins/server/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/metrics.txt" -covermode=atomic ./plugins/metrics/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/informer.txt" -covermode=atomic ./plugins/informer/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/resetter.txt" -covermode=atomic ./plugins/resetter/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/attributes.txt" -covermode=atomic ./plugins/http/attributes
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/http_tests.txt" -covermode=atomic ./plugins/http/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/gzip.txt" -covermode=atomic ./plugins/gzip/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/static.txt" -covermode=atomic ./plugins/static/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/static_root.txt" -covermode=atomic ./plugins/static
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/headers.txt" -covermode=atomic ./plugins/headers/tests
+ go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/checker.txt" -covermode=atomic ./plugins/checker/tests
cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt
- uses: codecov/codecov-action@v1 # Docs: <https://github.com/codecov/codecov-action>