Skip to content

Commit 9075ca9

Browse files
author
David Orchard
committed
Test with all features enabled in CI
1 parent be82af2 commit 9075ca9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/msrv.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,23 @@ jobs:
6363
uses: actions-rs/cargo@v1
6464
with:
6565
command: test
66+
args: --all-features
6667

6768
- name: Run cargo test (nightly)
6869
if: matrix.rust == '1.46.0'
6970
continue-on-error: true
7071
uses: actions-rs/cargo@v1
7172
with:
7273
command: test
73-
args: --tests
74+
args: --tests --all-features
7475

7576
- name: Run cargo test (nightly)
7677
if: matrix.rust == 'nightly'
7778
continue-on-error: true
7879
uses: actions-rs/cargo@v1
7980
with:
8081
command: test
82+
args: --all-features
8183

8284
fmt:
8385
needs: [check]

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,3 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util
4646
warp = "0.3.1"
4747
futures = "0.3.15"
4848
reqwest = "0.11.3"
49-
# Workaround to activate non-default features for tests:
50-
# https://github.com/rust-lang/cargo/issues/2911
51-
config = { path = ".", features = ["preserve_order"] }

0 commit comments

Comments
 (0)