Skip to content

Commit 73eaf44

Browse files
committed
fix: ci rust verbose test
1 parent ae15c0a commit 73eaf44

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ jobs:
2222
# Clippy - Rust linter
2323
- name: Install Rust toolchain
2424
run: rustup toolchain install stable
25+
2526
- name: Run Clippy
2627
run: rustup component add clippy && cargo clippy -- -D warnings
2728

28-
# Install dependencies and run unittests within the virtual environment
29+
# Python linting + PyO3 develop mode
2930
- name: Setup and run tests in virtual environment
3031
run: |
3132
python -m venv venv
@@ -36,9 +37,10 @@ jobs:
3637
maturin develop
3738
python -m unittest discover -s tests -p '*.py'
3839
39-
40-
# Build and test steps for Rust
40+
# Build Rust
4141
- name: Build
4242
run: cargo build --verbose
43+
44+
# Run Rust tests without PyO3 linking
4345
- name: Run tests
44-
run: cargo test --verbose
46+
run: cargo test --no-default-features --verbose

0 commit comments

Comments
 (0)