ci: Unbreak the liquid-regtest run on Github Actions

This commit is contained in:
Christian Decker 2023-09-11 17:38:49 +02:00
parent dc16f3411b
commit 8ac63daf71

View file

@ -282,6 +282,18 @@ jobs:
with: with:
name: cln-${{ matrix.CFG }}.tar.bz2 name: cln-${{ matrix.CFG }}.tar.bz2
- name: Unpack pre-built CLN
env:
CFG: ${{ matrix.CFG }}
run: |
tar -xaf cln-${CFG}.tar.bz2
- name: Switch network
if: ${{ matrix.TEST_NETWORK == 'liquid-regtest' }}
run: |
# Loading the network from config.vars rather than the envvar is a terrible idea...
sed -i 's/TEST_NETWORK=regtest/TEST_NETWORK=liquid-regtest/g' config.vars
- name: Test - name: Test
env: env:
COMPILER: ${{ matrix.COMPILER }} COMPILER: ${{ matrix.COMPILER }}
@ -296,7 +308,6 @@ jobs:
TEST_NETWORK: ${{ matrix.TEST_NETWORK }} TEST_NETWORK: ${{ matrix.TEST_NETWORK }}
LIGHTNINGD_POSTGRES_NO_VACUUM: 1 LIGHTNINGD_POSTGRES_NO_VACUUM: 1
run: | run: |
tar -xaf cln-${CFG}.tar.bz2
VALGRIND=0 poetry run pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS} VALGRIND=0 poetry run pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
integration-valgrind: integration-valgrind: