Skip to content

Commit

Permalink
Test it
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Jan 2, 2025
1 parent 79997ff commit 6304a87
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,16 @@ jobs:

run-flaky-test:
# to debug a flaky test set `if` to true and configure the flaky test in the `run` step
if: ${{ false }}
if: ${{ true }}
timeout-minutes: 60
runs-on: ubuntu-latest
env:
# Shrink artifact size by not including debug info. Makes build faster and shrinks cache.
CARGO_PROFILE_DEV_DEBUG: 0
CARGO_PROFILE_TEST_DEBUG: 0
CARGO_TERM_COLOR: always
FORK_URL_MAINNET: ${{ secrets.FORK_URL_MAINNET }}
FORK_URL_GNOSIS: ${{ secrets.FORK_URL_GNOSIS }}
TOML_TRACE_ERROR: 1
steps:
- uses: actions/checkout@v4
Expand All @@ -217,7 +219,7 @@ jobs:
attempt=1
while true; do
echo "Running test attempt #$attempt"
if ! cargo nextest run -p e2e local_node --test-threads 1 --failure-output final --run-ignored ignored-only; then
if ! cargo nextest run -p e2e forked_node --test-threads 1 --failure-output final --run-ignored ignored-only; then
exit 1
fi
attempt=$((attempt+1))
Expand Down

0 comments on commit 6304a87

Please sign in to comment.