Skip to content

Commit 2a54065

Browse files
committed
parallel master tests using nextest
1 parent 217cbd2 commit 2a54065

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/workflows/ci-master.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,34 @@ jobs:
180180
with:
181181
command: minimal-versions
182182
args: check
183+
184+
nextest:
185+
name: nextest
186+
runs-on: ubuntu-latest
187+
steps:
188+
- uses: actions/checkout@v2
189+
190+
- name: Install Rust
191+
uses: actions-rs/toolchain@v1
192+
with:
193+
toolchain: stable
194+
profile: minimal
195+
override: true
196+
197+
- name: Generate Cargo.lock
198+
uses: actions-rs/cargo@v1
199+
with: { command: generate-lockfile }
200+
- name: Cache Dependencies
201+
uses: Swatinem/[email protected]
202+
203+
- name: Install cargo-nextest
204+
uses: actions-rs/cargo@v1
205+
with:
206+
command: install
207+
args: cargo-nextest
208+
209+
- name: Test with cargo-nextest
210+
uses: actions-rs/cargo@v1
211+
with:
212+
command: nextest
213+
args: run

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@ jobs:
137137
command: install
138138
args: cargo-hack
139139

140+
- name: Generate Cargo.lock
141+
uses: actions-rs/cargo@v1
142+
with: { command: generate-lockfile }
143+
144+
- name: Tweak lockfile
145+
uses: actions-rs/cargo@v1
146+
with:
147+
command: update
148+
args: -p=rustls --precise=0.20.2
149+
140150
- name: tests
141151
run: |
142152
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"

0 commit comments

Comments
 (0)