Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad committed Oct 24, 2023
1 parent 0a1b0d7 commit 88dd8f7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
- name: build
env:
RUSTFLAGS: -Cinstrument-coverage
run: cargo build --all-features --verbose
run: cargo build --verbose

- name: test
env:
RUSTFLAGS: -Cinstrument-coverage
LLVM_PROFILE_FILE: name-%p-%m.profraw
run: cargo test --all-features --verbose
run: cargo test --verbose

- name: Run grcov
run: |
Expand Down
27 changes: 23 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,34 @@ jobs:

- name: Rustfmt
run: |
cargo fmt --no-default-features -- --check
cargo fmt -- --check
cargo fmt --all-features -- --check
- name: Clippy
run: cargo clippy --all-features --all-targets -- -D warnings
run: |
cargo clippy --no-default-features --all-targets -- -D warnings
cargo clippy --all-targets -- -D warnings
cargo clippy --all-features --all-targets -- -D warnings
- name: Build
run: cargo build --all-features --verbose
run: |
cargo build --no-default-features --verbose
cargo build --verbose
cargo build --all-features --verbose
- name: Run tests (minimal features)
run: |
cargo test --no-default-features --lib --bins --tests --verbose ${{matrix.extra}}
- name: Run tests
- name: Run tests (default features)
run: |
cargo test --lib --bins --tests --verbose ${{matrix.extra}}
- name: Run tests (all features)
run: |
cargo test --all-features --lib --bins --tests --verbose ${{matrix.extra}}
cargo test --benches ${{matrix.extra}}
- name: Run benches
run: |
# TODO for each feature who performance matter

0 comments on commit 88dd8f7

Please sign in to comment.