summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-13 17:36:22 +0300
committerValery Piashchynski <[email protected]>2020-11-13 17:36:22 +0300
commit99b6012400ab407cfcb04aab833640af565d550d (patch)
tree75a228cf96d90f99e7ee6367c5d7cbb4c465c61d /.github/workflows
parent6eefd067f4c08ed51834926abd1a4c60ec55b56d (diff)
Metrics config test
Config proper parsing Add metrics tests to the CI and Makefile
Diffstat (limited to '.github/workflows')
-rwxr-xr-x.github/workflows/ci-build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 99eb8834..ab4eebf5 100755
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -70,13 +70,14 @@ jobs:
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
go test -v -race ./plugins/logger/tests -tags=debug -coverprofile=logger.txt -covermode=atomic
- go test -v -race ./plugins/app/tests -tags=debug -coverprofile=app.txt -covermode=atomic
+ go test -v -race ./plugins/app/tests -tags=debug -coverprofile=app.txt -covermode=atomic
+ go test -v -race ./plugins/metrics/tests -tags=debug -metrics=app.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, app.txt
+ files: lib.txt, rpc_config.txt, rpc.txt, plugin_config.txt, logger.txt, app.txt, metrics.txt
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false