mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
Created a test script to that can be run in 'make test-e2e' and 'make (#1966)
Fixes end-to-end docker compose tests
This commit is contained in:
@@ -74,7 +74,7 @@ test-unit-docker: ## run unit tests with docker
|
|||||||
|
|
||||||
.PHONY: test-e2e
|
.PHONY: test-e2e
|
||||||
test-e2e:
|
test-e2e:
|
||||||
cd e2etests && go test --tags e2etests
|
./scripts/test_e2e.sh
|
||||||
|
|
||||||
.PHONY: test-e2e-docker
|
.PHONY: test-e2e-docker
|
||||||
test-e2e-docker:
|
test-e2e-docker:
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# test_e2e.sh
|
||||||
|
|
||||||
|
# Run the e2e tests with the race detector enabled
|
||||||
|
set -xeuo pipefail
|
||||||
|
cd e2etests && go test --tags e2etests -race
|
||||||
Reference in New Issue
Block a user