Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add nextest config #6224

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[profile.default]
retries = { backoff = "exponential", count = 3, delay = "1s", jitter = true }
slow-timeout = "3m"
3 changes: 2 additions & 1 deletion .github/workflows/heavy-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
run: git config --global url."https://github.com/".insteadOf "git@github.com:"
- name: test
run: |
cargo nextest run -r -p forge --test cli --features heavy-integration-tests --retries 1 -E 'test(~heavy_integration)'
cargo nextest run --profile local -p forge \
--test cli --features heavy-integration-tests -E "test(~heavy_integration)"

# If any of the jobs fail, this will create a high-priority issue to signal so.
issue:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ jobs:
run: |
# see https://github.com/foundry-rs/foundry/pull/3959
export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib"
cargo nextest run \
--retries 2 \
--archive-file tests-${{ matrix.target }}.tar.zst \
cargo nextest run --archive-file tests-${{ matrix.target }}.tar.zst \
${{ matrix.flags }}

doctests:
Expand Down
Loading