Skip to content

Commit

Permalink
ci: Set RUST_LOG during coverage tests (#1910)
Browse files Browse the repository at this point in the history
* ci: Set `RUST_LOG` during coverage tests

So that logging-related code is being included in the coverage check.

* Bump codecov version, to see if that makes it post comments again

* Back to 4.4.0

* 4.3.1

* 4.4.1

* verbose
  • Loading branch information
larseggert authored May 23, 2024
1 parent e354fdd commit ea1b2bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Run tests and determine coverage
run: |
# shellcheck disable=SC2086
cargo +${{ matrix.rust-toolchain }} llvm-cov nextest $BUILD_TYPE --features ci --no-fail-fast --lcov --output-path lcov.info
RUST_LOG=trace cargo +${{ matrix.rust-toolchain }} llvm-cov nextest $BUILD_TYPE --features ci --no-fail-fast --lcov --output-path lcov.info
cargo +${{ matrix.rust-toolchain }} bench --features bench --no-run
- name: Run client/server transfer
Expand Down Expand Up @@ -152,11 +152,12 @@ jobs:
if: success() || failure()

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@6d798873df2b1b8e5846dba6fb86631229fbcb17 # v4.4.0
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
with:
file: lcov.info
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
if: matrix.type == 'debug' && matrix.rust-toolchain == 'stable'

bench:
Expand Down

0 comments on commit ea1b2bb

Please sign in to comment.