Skip to content

Commit

Permalink
parallel master tests using nextest
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 15, 2022
1 parent 217cbd2 commit 2a54065
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,34 @@ jobs:
with:
command: minimal-versions
args: check

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/[email protected]

- 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
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ jobs:
command: install
args: cargo-hack

- name: Generate Cargo.lock
uses: actions-rs/cargo@v1
with: { command: generate-lockfile }

- name: Tweak lockfile
uses: actions-rs/cargo@v1
with:
command: update
args: -p=rustls --precise=0.20.2

- name: tests
run: |
sudo bash -c "ulimit -Sl 512 && ulimit -Hl 512 && PATH=$PATH:/usr/share/rust/.cargo/bin && RUSTUP_TOOLCHAIN=1.46 cargo ci-test-lower-msrv"
Expand Down

0 comments on commit 2a54065

Please sign in to comment.