diff --git a/.github/workflows/capsule-cypress.yml b/.github/workflows/capsule-cypress.yml index 960ed141d..a57b93fd3 100644 --- a/.github/workflows/capsule-cypress.yml +++ b/.github/workflows/capsule-cypress.yml @@ -133,7 +133,17 @@ jobs: run: vegawallet import -w UI_Trading_Test --recovery-phrase-file ./recovery -p ./passphrase --home ~/.vegacapsule/testnet/wallet - name: Create public key 2 run: vegawallet key generate -w UI_Trading_Test -p ./passphrase --home ~/.vegacapsule/testnet/wallet - - name: Start service + + - name: Import fairground network + if: ${{ env.RUN_CAPSULE==false }} + run: vegawallet network import --from-url="https://raw.githubusercontent.com/vegaprotocol/networks/master/fairground/fairground.toml" --force --home ~/.vegacapsule/testnet/wallet + + - name: Start service using fairground network + if: ${{ env.RUN_CAPSULE==false }} + run: vegawallet service run --network fairground --automatic-consent --home ~/.vegacapsule/testnet/wallet & + + - name: Start service using capsule network + if: ${{ env.RUN_CAPSULE==true }} run: vegawallet service run --network DV --automatic-consent --home ~/.vegacapsule/testnet/wallet & ###### @@ -161,11 +171,11 @@ jobs: ###### - name: Logs - if: ${{ always() }} + if: ${{ env.RUN_CAPSULE }} run: vegacapsule network logs > vega-capsule-logs.txt - uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ env.RUN_CAPSULE }} with: name: logs path: ./vega-capsule-logs.txt