Integration tests: SSL service, RocksDB in the CI matrix
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cba58d7e25
commit
e30364c21b
4 files changed
+47
-11
No files matched your search
@@ -106,9 +106,13 @@ jobs:
|
||||
run: contrib/docker-smoke-test.sh plm-electrumx
|
||||
|
||||
integration:
|
||||
# ElectrumX against a real Palladium node in regtest mode (tests/integration)
|
||||
name: integration
|
||||
# ElectrumX against a real Palladium node in regtest mode (tests/integration), with each DB engine
|
||||
name: integration (${{ matrix.db_engine }})
|
||||
runs-on: ubuntu-24.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
db_engine: [leveldb, rocksdb]
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
@@ -121,12 +125,12 @@ jobs:
|
||||
- name: Install system packages
|
||||
run: |
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get install -yq libleveldb-dev
|
||||
sudo apt-get install -yq libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev librocksdb-dev libleveldb-dev
|
||||
|
||||
- name: Install Python deps
|
||||
run: |
|
||||
pip install pytest
|
||||
pip install ".[leveldb]"
|
||||
pip install ".[${{ matrix.db_engine }}]"
|
||||
|
||||
- name: Start the regtest node
|
||||
run: docker compose -f tests/integration/docker-compose.yml up -d --build --wait
|
||||
@@ -134,6 +138,7 @@ jobs:
|
||||
- name: Run integration tests
|
||||
env:
|
||||
PLM_TEST_DAEMON_URL: http://plmtest:plmtest@127.0.0.1:28443/
|
||||
PLM_TEST_DB_ENGINE: ${{ matrix.db_engine }}
|
||||
run: pytest tests/integration
|
||||
|
||||
- name: Node log
|
||||
|
||||
Reference in new issue
Block a user