From c0aec22bfcd300f14fe3778d84c857e022cbfcbf Mon Sep 17 00:00:00 2001 From: etimofeeva Date: Mon, 9 Feb 2026 13:38:07 +0100 Subject: [PATCH] ci: always filter to EVM-only coins in CI connectivity/integration tests The Go test framework runs ALL coins listed in tests.json with 'connectivity' enabled, falling back to default config URLs when env vars are absent. This exposed internal infrastructure (127.0.0.1 defaults and sldev.cz URLs) in CI logs. Now both connectivity-tests and integration-tests always apply an EVM-only coin filter (avalanche|bsc|arbitrum|base|ethereum|optimism|polygon) unless a manual workflow_dispatch provides a custom coin_filter. UTXO chains remain fully testable on the dev server. --- .github/workflows/ci.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2044c43f..98c8d944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,12 +77,12 @@ jobs: BB_RPC_URL_HTTP_base: ${{ vars.BB_RPC_URL_HTTP_base }} BB_RPC_URL_WS_base: ${{ vars.BB_RPC_URL_WS_base }} run: | + # Default to EVM-only coins (publicly reachable from GitHub runners). + # UTXO chains use internal backends and are tested on the dev server. + EVM_COINS="avalanche|bsc|arbitrum|base|ethereum|optimism|polygon" FILTER="${{ inputs.coin_filter }}" - if [ -n "$FILTER" ]; then - make test-connectivity ARGS="-run 'TestIntegration/($FILTER)=.*/connectivity'" - else - make test-connectivity - fi + FILTER="${FILTER:-$EVM_COINS}" + make test-connectivity ARGS="-run 'TestIntegration/($FILTER)=.*/connectivity'" integration-tests: name: Integration Tests (RPC + Sync) @@ -119,9 +119,8 @@ jobs: BB_RPC_URL_HTTP_base: ${{ vars.BB_RPC_URL_HTTP_base }} BB_RPC_URL_WS_base: ${{ vars.BB_RPC_URL_WS_base }} run: | + # Default to EVM-only coins (publicly reachable from GitHub runners). + EVM_COINS="avalanche|bsc|arbitrum|base|ethereum|optimism|polygon" FILTER="${{ inputs.coin_filter }}" - if [ -n "$FILTER" ]; then - make test-integration ARGS="-run 'TestIntegration/($FILTER)=.*/' -v" - else - make test-integration ARGS="-v" - fi + FILTER="${FILTER:-$EVM_COINS}" + make test-integration ARGS="-run 'TestIntegration/($FILTER)=.*/' -v"