mirror of
https://github.com/trezor/blockbook.git
synced 2026-02-20 00:51:39 +01:00
ci: remove ethereum from CI — no public RPC URL available
The BB_RPC_URL_HTTP_ethereum GitHub variable still pointed to an internal sldev.cz backend. Removed ethereum from CI env blocks and EVM_COINS filter until a public endpoint is configured. Remaining CI-tested chains: avalanche, bsc, arbitrum, base, optimism, polygon.
This commit is contained in:
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
always() &&
|
||||
(needs.unit-tests.result == 'success' || needs.unit-tests.result == 'skipped') &&
|
||||
(github.event_name != 'workflow_dispatch' || inputs.run_connectivity_tests) &&
|
||||
vars.BB_RPC_URL_HTTP_ethereum != ''
|
||||
vars.BB_RPC_URL_HTTP_avalanche != ''
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -59,11 +59,9 @@ jobs:
|
||||
|
||||
- name: Run connectivity tests
|
||||
env:
|
||||
# EVM chains only — publicly reachable endpoints
|
||||
# UTXO chains (bitcoin, bcash, dogecoin, litecoin, zcash) are tested
|
||||
# on the dev server where internal backends are reachable.
|
||||
BB_RPC_URL_HTTP_ethereum: ${{ vars.BB_RPC_URL_HTTP_ethereum }}
|
||||
BB_RPC_URL_WS_ethereum: ${{ vars.BB_RPC_URL_WS_ethereum }}
|
||||
# EVM chains with publicly reachable endpoints only.
|
||||
# Ethereum is excluded until a public RPC URL is available.
|
||||
# UTXO chains are tested on the dev server where internal backends are reachable.
|
||||
BB_RPC_URL_HTTP_bsc: ${{ vars.BB_RPC_URL_HTTP_bsc }}
|
||||
BB_RPC_URL_WS_bsc: ${{ vars.BB_RPC_URL_WS_bsc }}
|
||||
BB_RPC_URL_HTTP_avalanche: ${{ vars.BB_RPC_URL_HTTP_avalanche }}
|
||||
@@ -78,8 +76,9 @@ jobs:
|
||||
BB_RPC_URL_WS_base: ${{ vars.BB_RPC_URL_WS_base }}
|
||||
run: |
|
||||
# Default to EVM-only coins (publicly reachable from GitHub runners).
|
||||
# Ethereum excluded — no public RPC URL available yet.
|
||||
# UTXO chains use internal backends and are tested on the dev server.
|
||||
EVM_COINS="avalanche|bsc|arbitrum|base|ethereum|optimism|polygon"
|
||||
EVM_COINS="avalanche|bsc|arbitrum|base|optimism|polygon"
|
||||
FILTER="${{ inputs.coin_filter }}"
|
||||
FILTER="${FILTER:-$EVM_COINS}"
|
||||
make test-connectivity ARGS="-run 'TestIntegration/($FILTER)=.*/connectivity'"
|
||||
@@ -102,10 +101,8 @@ jobs:
|
||||
|
||||
- name: Run integration tests
|
||||
env:
|
||||
# EVM chains only — publicly reachable endpoints
|
||||
# UTXO chains are tested on the dev server where internal backends are reachable.
|
||||
BB_RPC_URL_HTTP_ethereum: ${{ vars.BB_RPC_URL_HTTP_ethereum }}
|
||||
BB_RPC_URL_WS_ethereum: ${{ vars.BB_RPC_URL_WS_ethereum }}
|
||||
# EVM chains with publicly reachable endpoints only.
|
||||
# Ethereum excluded until a public RPC URL is available.
|
||||
BB_RPC_URL_HTTP_bsc: ${{ vars.BB_RPC_URL_HTTP_bsc }}
|
||||
BB_RPC_URL_WS_bsc: ${{ vars.BB_RPC_URL_WS_bsc }}
|
||||
BB_RPC_URL_HTTP_avalanche: ${{ vars.BB_RPC_URL_HTTP_avalanche }}
|
||||
@@ -120,7 +117,8 @@ jobs:
|
||||
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"
|
||||
# Ethereum excluded — no public RPC URL available yet.
|
||||
EVM_COINS="avalanche|bsc|arbitrum|base|optimism|polygon"
|
||||
FILTER="${{ inputs.coin_filter }}"
|
||||
FILTER="${FILTER:-$EVM_COINS}"
|
||||
make test-integration ARGS="-run 'TestIntegration/($FILTER)=.*/' -v"
|
||||
|
||||
Reference in New Issue
Block a user