From 32e00431c1d3b21f6cf5bee9aa562e4e237f5791 Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Tue, 16 Jan 2024 13:44:23 +0200 Subject: [PATCH] Override CREDITCOIN_API_URL when testing against a disconnected node we're using `testnet.config.ts` however the connection URL needs to be ws://127.0.0.1:9944 because this isn't supposed to go outside of the local machine! --- .github/workflows/runtime-upgrade.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/runtime-upgrade.yml b/.github/workflows/runtime-upgrade.yml index 9e1092bce4..e9fc891042 100644 --- a/.github/workflows/runtime-upgrade.yml +++ b/.github/workflows/runtime-upgrade.yml @@ -522,6 +522,7 @@ jobs: run: | yarn --cwd ./integration-tests/ test --config testnet.config.ts env: + CREDITCOIN_API_URL: ws://127.0.0.1:9944 ETHEREUM_NODE_URL: ${{ secrets.TESTNET_ETHEREUM_NODE_URL }} LENDER_PRIVATE_KEY: ${{ secrets.TESTNET_LENDER_PRIVATE_KEY }} LENDER_SEED: "${{ secrets.TESTNET_LENDER_SEED }}"