Commit Graph

9 Commits

Author SHA1 Message Date
etimofeeva
29e5783387 ci: skip BSC in CI — quicknode endpoint returning 401 2026-02-09 14:19:49 +01:00
etimofeeva
f6aca854df 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.
2026-02-09 14:13:06 +01:00
etimofeeva
c0aec22bfc 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.
2026-02-09 13:38:07 +01:00
etimofeeva
dba6a6572e ci: remove UTXO chains from CI env — only test EVM via public endpoints
UTXO chains (bitcoin, bcash, dogecoin, litecoin, zcash) use internal
backends unreachable from GitHub-hosted runners. Removed them from
the CI env blocks so connectivity and integration tests only run
against publicly reachable EVM endpoints (quicknode).

UTXO chains are still fully tested on the dev server where internal
backends are accessible.
2026-02-09 13:04:10 +01:00
etimofeeva
d86786f96a feat: add workflow_dispatch with coin filter + integration tests job
- Add workflow_dispatch trigger with inputs: coin_filter, run_unit_tests,
  run_connectivity_tests, run_integration_tests
- coin_filter accepts regex (e.g. 'bitcoin', 'ethereum', 'bitcoin|ethereum|bsc')
- Integration tests (rpc + sync) are manual-only (default off) since they
  are heavy and require live backends
- Connectivity tests run automatically on push/PR, or manually with filter
- Unit tests can be skipped in manual runs to speed up targeted testing
2026-02-09 12:13:16 +01:00
etimofeeva
b7d2415622 feat: added connectivity tests to CI using Go test framework
Replace bash/curl connectivity tests with the Go-based connectivity
test suite from the integration test framework. The CI now uses
'make test-connectivity' which runs TestIntegration/.*/connectivity
via go test, matching the same pattern as unit and integration tests.

Backend URLs are read from GitHub Actions variables (BB_RPC_URL_HTTP_*,
BB_RPC_URL_WS_*) and forwarded into Docker by the Makefile's BB_RPC_ENV.
2026-02-09 11:35:38 +01:00
etimofeeva
a6e3a715b4 fix: corrected rocks db version 2026-02-09 11:34:25 +01:00
etimofeeva
8b66d10678 fix: added missing dependencies 2026-02-09 11:34:25 +01:00
etimofeeva
63410e0e16 Add GitHub Actions CI workflow for unit tests 2026-02-09 11:34:25 +01:00