diff options
author | Valery Piashchynski <[email protected]> | 2021-07-12 14:57:24 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-12 14:57:24 +0300 |
commit | ec7c049036d31fe030d106db9f0d268ea0296c5f (patch) | |
tree | c7772e6e2c734c3df5ce207fb6690d5891b57c6d /Makefile | |
parent | 0be3e79115345d13e92da9b8a4e2b0926480c138 (diff) |
Add JOBS tests to the Makefile and GitHub CI.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -37,6 +37,7 @@ test_coverage: go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage/broadcast_plugin.out -covermode=atomic ./tests/plugins/broadcast go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage/ws_plugin.out -covermode=atomic ./tests/plugins/websockets go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage/ws_origin.out -covermode=atomic ./plugins/websockets + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage/jobs_core.out -covermode=atomic ./tests/plugins/jobs cat ./coverage/*.out > ./coverage/summary.out docker-compose -f tests/env/docker-compose.yaml down @@ -71,6 +72,7 @@ test: ## Run application tests go test -v -race -tags=debug ./tests/plugins/broadcast go test -v -race -tags=debug ./tests/plugins/websockets go test -v -race -tags=debug ./plugins/websockets + go test -v -race -tags=debug ./tests/plugins/jobs docker-compose -f tests/env/docker-compose.yaml down testGo1.17beta1: ## Run application tests @@ -82,9 +84,10 @@ testGo1.17beta1: ## Run application tests go1.17beta1 test -v -race -tags=debug ./pkg/worker_watcher go1.17beta1 test -v -race -tags=debug ./pkg/bst go1.17beta1 test -v -race -tags=debug ./pkg/priorityqueue - go1.17beta1 test -v -race -tags=debug ./tests/plugins/http go1.17beta1 test -v -race -tags=debug ./plugins/http/config go1.17beta1 test -v -race -tags=debug ./plugins/server + go1.17beta1 test -v -race -tags=debug ./plugins/websockets + go1.17beta1 test -v -race -tags=debug ./tests/plugins/http go1.17beta1 test -v -race -tags=debug ./tests/plugins/informer go1.17beta1 test -v -race -tags=debug ./tests/plugins/reload go1.17beta1 test -v -race -tags=debug ./tests/plugins/server @@ -101,5 +104,5 @@ testGo1.17beta1: ## Run application tests go1.17beta1 test -v -race -tags=debug ./tests/plugins/kv go1.17beta1 test -v -race -tags=debug ./tests/plugins/websockets go1.17beta1 test -v -race -tags=debug ./tests/plugins/broadcast - go1.17beta1 test -v -race -tags=debug ./plugins/websockets + go1.17beta1 test -v -race -tags=debug ./tests/plugins/jobs docker-compose -f tests/env/docker-compose.yaml down |