Skip to content

Commit

Permalink
Attempt to optimize workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Jan 10, 2025
1 parent 4494950 commit 6b81faa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check_with_mesh_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,30 @@ jobs:
- name: check:construction (native)
run: |
PYTHONPATH=. python3 ./systemtests/check_with_mesh_cli.py --mode=construction-native --network=testnet
python3 ./systemtests/check_with_mesh_cli.py --mode=construction-native --network=testnet
sleep 30
- name: check:construction (custom)
run: |
PYTHONPATH=. python3 ./systemtests/check_with_mesh_cli.py --mode=construction-custom --network=testnet
python3 ./systemtests/check_with_mesh_cli.py --mode=construction-custom --network=testnet
sleep 30
- name: Generate testdata (setup)
run: |
PYTHONPATH=. python3 ./systemtests/generate_testdata_on_network.py setup --network=testnet
python3 ./systemtests/generate_testdata_on_network.py setup --network=testnet
env:
USERS_MNEMONIC: ${{ secrets.USERS_MNEMONIC }}
SPONSOR_SECRET_KEY: ${{ secrets.SPONSOR_SECRET_KEY }}

- name: Generate testdata (run)
run: |
PYTHONPATH=. python3 ./systemtests/generate_testdata_on_network.py run --network=testnet
python3 ./systemtests/generate_testdata_on_network.py run --network=testnet
env:
USERS_MNEMONIC: ${{ secrets.USERS_MNEMONIC }}
SPONSOR_SECRET_KEY: ${{ secrets.SPONSOR_SECRET_KEY }}

- name: check:data
run: |
PYTHONPATH=. python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=testnet
python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=testnet
6 changes: 3 additions & 3 deletions .github/workflows/check_with_mesh_cli_on_localnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
- name: Generate testdata (setup)
run: |
source .env
PYTHONPATH=. python3 ./systemtests/generate_testdata_on_network.py setup --network localnet
python3 ./systemtests/generate_testdata_on_network.py setup --network localnet
- name: Generate testdata (run)
run: |
source .env
PYTHONPATH=. python3 ./systemtests/generate_testdata_on_network.py run --network localnet
python3 ./systemtests/generate_testdata_on_network.py run --network localnet
- name: check:data
run: |
source .env
PYTHONPATH=. python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=localnet
python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=localnet
- name: Stop MultiversX localnet
if: success() || failure()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_with_mesh_cli_on_mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: check:data
run: |
PYTHONPATH=. python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=mainnet
python3 ./systemtests/check_with_mesh_cli.py --mode=data --network=mainnet
env:
MAINNET_PROXY_URL: ${{ secrets.MAINNET_PROXY_URL }}

0 comments on commit 6b81faa

Please sign in to comment.