From 3a0a0190ed130e72ebc150bbb3e3c1582f22dd16 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 4 Nov 2020 16:52:03 +0300 Subject: Add tests to the Makefile, update CI --- .github/workflows/ci-build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.github/workflows') 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: -- cgit v1.2.3