Skip to content

Commit 0f9b874

Browse files
committed
chore: Run nightly tests on GitHub workflow with different features
1 parent f86bd76 commit 0f9b874

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
matrix:
7272
os: [ ubuntu-latest, macos-latest, windows-latest ]
7373
rust: [ nightly ]
74+
features: [ 'std', 'alloc', 'std,lender', 'alloc,lender' ]
7475
runs-on: ${{ matrix.os }}
7576
timeout-minutes: 5
7677
steps:
@@ -80,11 +81,11 @@ jobs:
8081
toolchain: ${{ matrix.rust }}
8182
override: true
8283
- name: Check
83-
run: cargo check --verbose
84+
run: cargo check --verbose --features ${{ matrix.features }} --no-default-features
8485
- name: Tests
85-
run: cargo test --verbose --features lender -- --show-output
86+
run: cargo test --verbose --features ${{ matrix.features }} --no-default-features -- --show-output
8687
- name: Ignored tests
87-
run: cargo test --verbose --features lender -- --show-output --ignored
88+
run: cargo test --verbose --features ${{ matrix.features }} --no-default-features -- --show-output --ignored
8889
nightly-lint:
8990
runs-on: ubuntu-latest
9091
timeout-minutes: 5

0 commit comments

Comments
 (0)