1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-23 16:21:06 +01:00

add nextest to post-merge ci

This commit is contained in:
Rob Ede 2022-02-15 14:40:26 +00:00
parent 3486edabcf
commit de62e8b025
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -152,3 +152,34 @@ jobs:
# - name: Upload to Codecov # - name: Upload to Codecov
# uses: codecov/codecov-action@v1 # uses: codecov/codecov-action@v1
# with: { file: cobertura.xml } # with: { file: cobertura.xml }
nextest:
name: nextest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Generate Cargo.lock
uses: actions-rs/cargo@v1
with: { command: generate-lockfile }
- name: Cache Dependencies
uses: Swatinem/rust-cache@v1.3.0
- name: Install cargo-nextest
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-nextest
- name: Test with cargo-nextest
uses: actions-rs/cargo@v1
with:
command: nextest
args: run