Skip to content

Commit b07e9e7

Browse files
committed
chore: print debug log for coverage test
Flaky tests are possible to fail everywhere.
1 parent 546a6de commit b07e9e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
needs: [test]
5454
runs-on: ubuntu-latest
5555
env:
56+
RUST_LOG: debug
5657
RUSTFLAGS: -Cinstrument-coverage
5758
steps:
5859
- uses: actions/checkout@v2
@@ -66,7 +67,7 @@ jobs:
6667
- run: cargo install grcov
6768
- run: cargo build --verbose
6869
- name: Run tests
69-
run: LLVM_PROFILE_FILE="zookeeper-client-%p-%m.profraw" cargo test --verbose
70+
run: LLVM_PROFILE_FILE="zookeeper-client-%p-%m.profraw" cargo test --verbose -- --nocapture
7071
- name: Generate coverage report
7172
run: grcov $(find . -name "zookeeper-*.profraw" -print) --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o lcov.info
7273
- name: Upload to codecov.io

0 commit comments

Comments
 (0)