From ea1b2bb2013e0056badbc7d0c4c9068ccedb1495 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Thu, 23 May 2024 14:44:40 +0300 Subject: [PATCH] ci: Set `RUST_LOG` during coverage tests (#1910) * 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 --- .github/workflows/check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1d9b1f432f..bc3ac78765 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 @@ -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: