From 6e27edcb775ce831b784d2040672f2d2af2c020f Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Mon, 24 Jul 2023 14:11:00 +0300 Subject: [PATCH] ci: use cargo-nextest --- .gitea/workflows/test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 8fe5fd2d..c4a5edcc 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -80,7 +80,8 @@ jobs: - if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }} && matrix.target name: Add lint dependencies run: | - cargo install --target "${{ matrix.target }}" cargo-sort + cargo install --quiet --version 1.0.9 --target "${{ matrix.target }}" cargo-sort + cargo install --quiet --version 0.9.54 --target "${{ matrix.target }}" cargo-nextest - name: cargo-check run: | cargo check --all-features --all --tests --examples --benches --bins @@ -90,7 +91,8 @@ jobs: - name: cargo test if: success() || failure() # always run even if other steps fail, except when cancelled run: | - cargo test --all --no-fail-fast --all-features -- --nocapture --quiet + cargo nextest run --all --no-fail-fast --all-features --future-incompat-report + #cargo test --all --no-fail-fast --all-features -- --nocapture --quiet - name: cargo-sort if: success() || failure() run: |