summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-04 16:52:03 +0300
committerValery Piashchynski <[email protected]>2020-11-04 16:52:03 +0300
commit3a0a0190ed130e72ebc150bbb3e3c1582f22dd16 (patch)
treebd9a80b13b2ce977efbf487918fdcad180b218b2 /.github
parentd4c06947f4f250908cd75b4a80afe1be77548229 (diff)
Add tests to the Makefile, update CI
Diffstat (limited to '.github')
-rwxr-xr-x.github/workflows/ci-build.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 66f88a36..28921a81 100755
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -65,9 +65,10 @@ jobs:
- name: Run golang tests
run: |
- go test -v . -tags=debug -coverprofile=lib.txt -covermode=atomic
- go test -v ./plugins/rpc -tags=debug -coverprofile=rpc_config.txt -covermode=atomic
- go test -v ./plugins/rpc/tests -tags=debug -coverprofile=rpc.txt -covermode=atomic
+ go test -v -race . -tags=debug -coverprofile=lib.txt -covermode=atomic
+ go test -v -race ./plugins/rpc -tags=debug -coverprofile=rpc_config.txt -covermode=atomic
+ go test -v -race ./plugins/rpc/tests -tags=debug -coverprofile=rpc.txt -covermode=atomic
+ go test -v -race ./plugins/config/tests -tags=debug -coverprofile=plugin_config.txt -covermode=atomic
- name: Run code coverage
env:
@@ -79,6 +80,7 @@ jobs:
./codecov-bash -f lib.txt
./codecov-bash -f rpc_config.txt
./codecov-bash -f rpc.txt
+ ./codecov-bash -f plugin_config.txt
fi
golangci-check: