Skip to content

Commit e3b3dfd

Browse files
committed
fixup! fixup! test: add option to choose target cluster for deployed environments e2e tests
1 parent 7268956 commit e3b3dfd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test-deploy-e2e.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ jobs:
6060

6161
- name: 🔬 Test - e2e - wallet at epoch 0
6262
run: |
63-
yarn workspace @cardano-sdk/e2e test:wallet
63+
REAL_NETWORK=true yarn workspace @cardano-sdk/e2e test:wallet

packages/e2e/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
"test:debug": "DEBUG=true yarn test",
7171
"generate-mnemonics": "ts-node src/scripts/mnemonic.ts",
7272
"multi-delegation-data-gen": "ts-node src/tools/multi-delegation-data-gen/index.ts",
73-
"wait-for-network-epoch-3": "DB_SYNC_CONNECTION_STRING='postgresql://postgres:doNoUseThisSecret!@localhost:5435/cexplorer' ts-node src/scripts/is-local-network-ready.ts",
74-
"wait-for-network-init": "local-network/scripts/wait-local-network-init.sh"
73+
"wait-for-network-epoch-3": "if [ \"$REAL_NETWORK\" = \"true\" ] ; then echo Running on real network ; else DB_SYNC_CONNECTION_STRING='postgresql://postgres:doNoUseThisSecret!@localhost:5435/cexplorer' ts-node src/scripts/is-local-network-ready.ts ; fi",
74+
"wait-for-network-init": "if [ \"$REAL_NETWORK\" = \"true\" ] ; then echo Running on real network ; else local-network/scripts/wait-local-network-init.sh ; fi"
7575
},
7676
"repository": "https://github.com/input-output-hk/cardano-js-sdk",
7777
"license": "Apache-2.0",

0 commit comments

Comments
 (0)