forked from meli/meli
1
Fork 0

ci: use cargo-nextest

ci-smtp-localhost
Manos Pitsidianakis 2023-07-24 14:11:00 +03:00
parent ae25ffba43
commit 6e27edcb77
Signed by: Manos Pitsidianakis
GPG Key ID: 7729C7707F7E09D0
1 changed files with 4 additions and 2 deletions

View File

@ -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 <https://stackoverflow.com/questions/58858429/how-to-run-a-github-actions-step-even-if-the-previous-step-fails-while-still-f>
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: |