Skip to content

Commit 495e177

Browse files
authored
Merge pull request #897 from nyxtom/patch-github-cargo
Fix github ci to include logger with tests
2 parents 9f3cde6 + 9ea5444 commit 495e177

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions-rs/cargo@v1
3232
with:
3333
command: check
34-
args: --all --bins --examples
34+
args: --all --bins --examples --features logger
3535

3636
- name: check avoid-dev-deps
3737
uses: actions-rs/cargo@v1
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions-rs/cargo@v1
4545
with:
4646
command: check
47-
args: --all --bins --examples --tests --features unstable
47+
args: --all --bins --examples --tests --features unstable,logger
4848

4949
- name: check no-default-features
5050
uses: actions-rs/cargo@v1
@@ -62,13 +62,13 @@ jobs:
6262
uses: actions-rs/cargo@v1
6363
with:
6464
command: test
65-
args: --all
65+
args: --all --features logger
6666

6767
- name: tests unstable
6868
uses: actions-rs/cargo@v1
6969
with:
7070
command: test
71-
args: --all --features unstable
71+
args: --all --features unstable,logger
7272

7373
check_fmt_and_docs:
7474
name: Checking fmt, clippy, and docs
@@ -82,7 +82,7 @@ jobs:
8282
rustc --version
8383
8484
- name: clippy
85-
run: cargo clippy --tests --examples -- -D warnings
85+
run: cargo clippy --tests --examples --features logger -- -D warnings
8686

8787
- name: fmt
8888
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)