Fix errors in --no-default-features built. (#129)

Also enables the `--tests` flag when building with --no-default-features in the CI.
This commit is contained in:
Martin Hoffmann
2022-04-21 14:12:13 +02:00
committed by GitHub
parent e6d1530860
commit 9d937070ed
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
run: cargo clippy --all-features -- -D warnings
- if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'
run: cargo fmt --all -- --check
- run: cargo build --no-default-features --verbose
- run: cargo build --tests --no-default-features --verbose
- run: cargo test --features=ci-test --verbose
- if: matrix.rust == 'nightly'
run: |