Skip to content

Commit 9a7bde2

Browse files
committed
Make sure to enable all features when running tests in the CI.
1 parent 72ce9a0 commit 9a7bde2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Test
7575
run: |
7676
pip install numpy
77-
cargo test
77+
cargo test --all-features
7878
# Not on PyPy, because no embedding API
7979
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
8080
- name: Test example
@@ -215,7 +215,7 @@ jobs:
215215
- name: Install cargo-llvm-cov
216216
uses: taiki-e/install-action@cargo-llvm-cov
217217
- name: Generate code coverage
218-
run: cargo llvm-cov --lcov --output-path coverage.lcov
218+
run: cargo llvm-cov --all-features --lcov --output-path coverage.lcov
219219
- name: Upload coverage to Codecov
220220
uses: codecov/codecov-action@v2
221221
with:

0 commit comments

Comments
 (0)