diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8333cd6..85eb9cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0dfda69..862714a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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: