Skip to content

test(starknet_client): integration test with the starknet GW #1

test(starknet_client): integration test with the starknet GW

test(starknet_client): integration test with the starknet GW #1

Workflow file for this run

name: nightly-tests

Check failure on line 1 in .github/workflows/nightly-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nightly-tests.yml

Invalid workflow file

`schedule` list items require the `cron` key to be set
on:
schedule:
- cron: "30 0 * * *"
- branches: [main]
workflow_dispatch:
jobs:
GW-integration-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: >
INTEGRATION_TEST_NODE_URL=${{ secrets.INTEGRATION_TESTNET_NODE_URL }}
SENDER_PRIVATE_KEY=${{ secrets.INTEGRATION_TESTNET_SENDER_PRIVATE_KEY }}
cargo test --test gateway_integration_test -p starknet_client test_gw_integration_testnet
-- --ignored;
retVal=$?;
if [ $retVal -ne 0 ]; then
echo "Integration test failed with exit code $retVal"
fi;
exit $retVal