summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-18 10:40:24 +0300
committerValery Piashchynski <[email protected]>2020-11-18 10:40:24 +0300
commit39aa0f42479dddbfaee0d7fa40f9eef4d9a5a374 (patch)
tree8bb03534417f0c6206965d8a9f9828a794e26dbd
parentbe18313f6bf8f903f2d2ba3ca812ad8546c329f6 (diff)
Add informer tests to the CI and Makefile
-rwxr-xr-x.github/workflows/ci-build.yml3
-rw-r--r--Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 06e260ce..c8f59645 100755
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -72,12 +72,13 @@ jobs:
go test -v -race ./plugins/logger/tests -tags=debug -coverprofile=logger.txt -covermode=atomic
go test -v -race ./plugins/server/tests -tags=debug -coverprofile=server.txt -covermode=atomic
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
- 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
+ files: lib.txt, rpc_config.txt, rpc.txt, plugin_config.txt, logger.txt, server.txt, metrics.txt, informer.txt
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
diff --git a/Makefile b/Makefile
index 71294c2f..1ea8ae50 100644
--- a/Makefile
+++ b/Makefile
@@ -5,4 +5,5 @@ test:
go test -v -race -cover ./plugins/config/tests -tags=debug
go test -v -race -cover ./plugins/server/tests -tags=debug
go test -v -race -cover ./plugins/logger/tests -tags=debug
- go test -v -race -cover ./plugins/metrics/tests -tags=debug \ No newline at end of file
+ go test -v -race -cover ./plugins/metrics/tests -tags=debug
+ go test -v -race -cover ./plugins/informer/tests -tags=debug \ No newline at end of file