Skip to content

Commit

Permalink
Add CI tests for use-gauge-on-cpu-seconds-total feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Apr 20, 2024
1 parent cd97b6c commit 9f24c50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Test
run: |
cargo build --release --all-features
- name: Test (use-gauge-on-cpu-seconds-total)
run: |
cargo build --release --features use-gauge-on-cpu-seconds-total
build-dummy:
strategy:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
- name: Clippy check
run: |
cargo clippy --all-features --all-targets
- name: Clippy check (use-gauge-on-cpu-seconds-total)
run: |
cargo clippy --features use-gauge-on-cpu-seconds-total --all-targets
test:
strategy:
Expand Down Expand Up @@ -91,6 +94,9 @@ jobs:
- name: Test
run: |
cargo llvm-cov --all-features --lcov --output-path lcov.info
- name: Test (use-gauge-on-cpu-seconds-total)
run: |
cargo llvm-cov --features use-gauge-on-cpu-seconds-total --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 9f24c50

Please sign in to comment.