From af3165b568de8fb16051349cdec9f4a76b78b848 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Mon, 9 Feb 2026 16:13:21 +0100 Subject: [PATCH] ci: Use `cargo test` instead of `nextest` This reverts commit 750dec01620d77e7f62849b62bcdf20da1faf254, which introduced `cargo nextest` for the stable tests. This had the unintended side-effect of preventing doc tests from being run. With this change, we also revert the Sentry Prevent upload. Resolves #972 Resolves [RUST-138](https://linear.app/getsentry/issue/RUST-138/replace-nextest-and-sentry-prevent-with-cargo-test) --- .config/nextest.toml | 5 ----- .github/workflows/ci.yml | 15 ++------------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 .config/nextest.toml diff --git a/.config/nextest.toml b/.config/nextest.toml deleted file mode 100644 index 6a109e171..000000000 --- a/.config/nextest.toml +++ /dev/null @@ -1,5 +0,0 @@ -[profile.ci] -fail-fast = false - -[profile.ci.junit] -path = "junit.xml" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72ba62e25..333ff7315 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,8 +50,6 @@ jobs: name: Test using Rust stable on ${{ matrix.os }} runs-on: ${{ matrix.os }} - permissions: - id-token: write # required by `getsentry/prevent-action` steps: - name: Checkout sources @@ -59,17 +57,8 @@ jobs: - uses: Swatinem/rust-cache@v2 - - uses: taiki-e/install-action@nextest - - - name: Run tests with nextest - run: cargo nextest run --profile ci --all-features --all-targets - - - name: Upload test results to Sentry Prevent - if: ${{ !cancelled() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} - uses: getsentry/prevent-action@v0 - with: - files: target/nextest/ci/junit.xml - disable_search: true + - name: Run cargo test + run: cargo test --workspace --all-features --all-targets MSRV: strategy: