diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 44 |
1 files changed, 5 insertions, 39 deletions
@@ -15,9 +15,13 @@ test_coverage: go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/bst.txt -covermode=atomic ./pkg/bst go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/pq.txt -covermode=atomic ./pkg/priority_queue go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/worker_stack.txt -covermode=atomic ./pkg/worker_watcher + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/broadcast_plugin.txt -covermode=atomic ./tests/plugins/broadcast + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/websockets.txt -covermode=atomic ./tests/plugins/websockets + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/ws_origin.txt -covermode=atomic ./plugins/websockets + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/jobs_core.txt -covermode=atomic ./tests/plugins/jobs + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/struct_jobs.txt -covermode=atomic ./plugins/jobs/job go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/http_config.txt -covermode=atomic ./plugins/http/config go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/server_cmd.txt -covermode=atomic ./plugins/server - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/struct_jobs.txt -covermode=atomic ./plugins/jobs/job go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/pipeline_jobs.txt -covermode=atomic ./plugins/jobs/pipeline go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/http.txt -covermode=atomic ./tests/plugins/http go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/informer.txt -covermode=atomic ./tests/plugins/informer @@ -34,10 +38,6 @@ test_coverage: go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/resetter.txt -covermode=atomic ./tests/plugins/resetter go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/rpc.txt -covermode=atomic ./tests/plugins/rpc go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/kv_plugin.txt -covermode=atomic ./tests/plugins/kv - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/broadcast_plugin.txt -covermode=atomic ./tests/plugins/broadcast - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/websockets.txt -covermode=atomic ./tests/plugins/websockets - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/ws_origin.txt -covermode=atomic ./plugins/websockets - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/jobs_core.txt -covermode=atomic ./tests/plugins/jobs cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt docker-compose -f tests/env/docker-compose.yaml down @@ -74,37 +74,3 @@ test: ## Run application tests 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.17rc1: ## Run application tests - docker-compose -f tests/env/docker-compose.yaml up -d - go1.17rc1 test -v -race -tags=debug ./pkg/transport/pipe - go1.17rc1 test -v -race -tags=debug ./pkg/transport/socket - go1.17rc1 test -v -race -tags=debug ./pkg/pool - go1.17rc1 test -v -race -tags=debug ./pkg/worker - go1.17rc1 test -v -race -tags=debug ./pkg/worker_watcher - go1.17rc1 test -v -race -tags=debug ./pkg/bst - go1.17rc1 test -v -race -tags=debug ./pkg/priority_queue - go1.17rc1 test -v -race -tags=debug ./plugins/jobs/job - go1.17rc1 test -v -race -tags=debug ./plugins/jobs/pipeline - go1.17rc1 test -v -race -tags=debug ./plugins/http/config - go1.17rc1 test -v -race -tags=debug ./plugins/server - go1.17rc1 test -v -race -tags=debug ./plugins/websockets - go1.17rc1 test -v -race -tags=debug ./tests/plugins/http - go1.17rc1 test -v -race -tags=debug ./tests/plugins/informer - go1.17rc1 test -v -race -tags=debug ./tests/plugins/reload - go1.17rc1 test -v -race -tags=debug ./tests/plugins/server - go1.17rc1 test -v -race -tags=debug ./tests/plugins/service - go1.17rc1 test -v -race -tags=debug ./tests/plugins/status - go1.17rc1 test -v -race -tags=debug ./tests/plugins/config - go1.17rc1 test -v -race -tags=debug ./tests/plugins/gzip - go1.17rc1 test -v -race -tags=debug ./tests/plugins/headers - go1.17rc1 test -v -race -tags=debug ./tests/plugins/logger - go1.17rc1 test -v -race -tags=debug ./tests/plugins/metrics - go1.17rc1 test -v -race -tags=debug ./tests/plugins/redis - go1.17rc1 test -v -race -tags=debug ./tests/plugins/resetter - go1.17rc1 test -v -race -tags=debug ./tests/plugins/rpc - go1.17rc1 test -v -race -tags=debug ./tests/plugins/kv - go1.17rc1 test -v -race -tags=debug ./tests/plugins/websockets - go1.17rc1 test -v -race -tags=debug ./tests/plugins/broadcast - go1.17rc1 test -v -race -tags=debug ./tests/plugins/jobs - docker-compose -f tests/env/docker-compose.yaml down |