mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-25 00:47:27 +01:00
fix: decrease shell boundaries crossing for E2E_REGEX passing
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -76,4 +76,4 @@ jobs:
|
||||
vars_json: ${{ toJSON(vars) }}
|
||||
|
||||
- name: Run e2e tests
|
||||
run: make test-e2e ARGS="-v -run ${E2E_REGEX}"
|
||||
run: make test-e2e ARGS="-v"
|
||||
|
||||
2
Makefile
2
Makefile
@@ -27,7 +27,7 @@ test-integration: .bin-image
|
||||
docker run -t --rm -e PACKAGER=$(PACKAGER) $(BB_RPC_ENV) -v "$(CURDIR):/src" --network="host" $(BIN_IMAGE) make test-integration ARGS="$(ARGS)"
|
||||
|
||||
test-e2e: .bin-image
|
||||
docker run -t --rm -e PACKAGER=$(PACKAGER) $(BB_RPC_ENV) -v "$(CURDIR):/src" --network="host" $(BIN_IMAGE) make test-e2e ARGS="$(ARGS)"
|
||||
docker run -t --rm -e PACKAGER=$(PACKAGER) -e E2E_REGEX $(BB_RPC_ENV) -v "$(CURDIR):/src" --network="host" $(BIN_IMAGE) make test-e2e ARGS="$(ARGS)"
|
||||
|
||||
test-connectivity: .bin-image
|
||||
docker run -t --rm -e PACKAGER=$(PACKAGER) $(BB_RPC_ENV) -v "$(CURDIR):/src" --network="host" $(BIN_IMAGE) make test-connectivity ARGS="$(ARGS)"
|
||||
|
||||
@@ -30,7 +30,7 @@ test-integration: prepare-sources
|
||||
cd $(BLOCKBOOK_SRC) && go test -tags 'integration' `go list github.com/trezor/blockbook/tests/...` -run 'TestIntegration/.*/(rpc|sync)' -timeout 30m $(ARGS)
|
||||
|
||||
test-e2e: prepare-sources
|
||||
cd $(BLOCKBOOK_SRC) && go test -tags 'integration' `go list github.com/trezor/blockbook/tests/...` -run 'TestIntegration/.*/api' -timeout 30m $(ARGS)
|
||||
cd $(BLOCKBOOK_SRC) && go test -tags 'integration' `go list github.com/trezor/blockbook/tests/...` -run "$${E2E_REGEX:-TestIntegration/.*/api}" -timeout 30m $(ARGS)
|
||||
|
||||
test-connectivity: prepare-sources
|
||||
cd $(BLOCKBOOK_SRC) && go test -tags 'integration' github.com/trezor/blockbook/tests -run 'TestIntegration/.*/connectivity' -timeout 30m $(ARGS)
|
||||
|
||||
Reference in New Issue
Block a user