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
5 changes: 5 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[profile.ci]
fail-fast = false

[profile.ci.junit]
path = "junit.xml"
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,26 @@ 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
uses: actions/checkout@v4

- uses: Swatinem/rust-cache@v2

- name: Run cargo test
run: cargo test --workspace --all-features --all-targets
- uses: taiki-e/install-action@nextest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may wish to consider pinning GitHub Actions by hash


- name: Run tests with nextest
run: cargo nextest run --profile ci --all-features --all-targets

- name: Upload test results to Sentry Prevent
if: ${{ !cancelled() }}
uses: getsentry/prevent-action@v0
with:
files: target/nextest/ci/junit.xml
disable_search: true

MSRV:
strategy:
Expand Down
Loading