diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 0000000..73b7c26 --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,2 @@ +[profile.default] +slow-timeout = { period = "500ms", terminate-after = 5, grace-period = "2s" } diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index da19f45..7cf6abf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -54,6 +54,10 @@ jobs: components: clippy - name: Setup Rust cache uses: swatinem/rust-cache@v2 + - name: Setup nextest + uses: taiki-e/install-action@v2 + with: + tool: cargo-nextest - name: Build run: cargo build --release --all-targets --all-features - name: Clippy @@ -61,4 +65,4 @@ jobs: - name: Test run: | git fetch - cargo test --release --all-targets --all-features + cargo nextest run --release --all-targets --all-features