Skip to content
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
10 changes: 10 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[profile.ci]
# Do not cancel the test run on the first failure.
fail-fast = false

[profile.merge-queue]
# fail fast to kick from merge queue faster.
fail-fast = true

# Disable fuzzing to avoid flakiness
default-filter = "not package(noir_ast_fuzzer_fuzz)"
6 changes: 3 additions & 3 deletions .github/workflows/test-rust-workspace-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: nextest@0.9.67
tool: nextest@0.9.88

- name: Build and archive tests
run: cargo nextest archive --workspace --features noirc_frontend/nextest --archive-file nextest-archive-arm64.tar.zst
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: nextest@0.9.67
tool: nextest@0.9.88

- name: Download archive
uses: actions/download-artifact@v4
Expand All @@ -79,7 +79,7 @@ jobs:
RUST_MIN_STACK=8388608 \
cargo nextest run --archive-file nextest-archive-arm64.tar.zst \
--partition count:${{ matrix.partition }}/4 \
--no-fail-fast
--profile ci

# This is a job which depends on all test jobs and reports the overall status.
# This allows us to add/remove test jobs without having to update the required workflows.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-rust-workspace-msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: nextest@0.9.67
tool: nextest@0.9.88

- name: Build and archive tests
run: cargo nextest archive --workspace --archive-file nextest-archive.tar.zst
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: nextest@0.9.67
tool: nextest@0.9.88

- name: Download archive
uses: actions/download-artifact@v4
Expand All @@ -93,7 +93,7 @@ jobs:
RUST_MIN_STACK=8388608 \
cargo nextest run --archive-file nextest-archive.tar.zst \
--partition count:${{ matrix.partition }}/4 \
--no-fail-fast
--profile ci

# This is a job which depends on all test jobs and reports the overall status.
# This allows us to add/remove test jobs without having to update the required workflows.
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test-rust-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: nextest@0.9.67
tool: nextest@0.9.88

- name: Build and archive tests
run: cargo nextest archive --workspace --features noirc_frontend/nextest --archive-file nextest-archive.tar.zst
Expand Down Expand Up @@ -69,18 +69,21 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@v2
with:
tool: nextest@0.9.67
tool: nextest@0.9.88

- name: Download archive
uses: actions/download-artifact@v4
with:
name: nextest-archive
- name: Run tests
run: |
echo "Running with profile: $NEXTEST_PROFILE"
RUST_MIN_STACK=8388608 \
cargo nextest run --archive-file nextest-archive.tar.zst \
--partition count:${{ matrix.partition }}/4 \
--no-fail-fast
--profile $NEXTEST_PROFILE
env:
NEXTEST_PROFILE: ${{ (github.event_name == 'merge_group' && 'merge-queue') || 'ci' }}

# This is a job which depends on all test jobs and reports the overall status.
# This allows us to add/remove test jobs without having to update the required workflows.
Expand Down
Loading