X Tutup
Skip to content

Commit 3a3c81e

Browse files
committed
Fix lcov generation
1 parent f5b78e9 commit 3a3c81e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cron-ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
toolchain: nightly
2929
override: true
3030
components: llvm-tools-preview
31+
- run: sudo apt-get install lcov
3132
- uses: actions-rs/cargo@v1
3233
with:
3334
command: build
@@ -59,7 +60,8 @@ jobs:
5960
local tool=$1; shift; "$(rustc --print target-libdir)/../bin/llvm-$tool" "$@"
6061
}
6162
rusttool profdata merge extra_tests/snippet-*.profraw regrtest.profraw --output codecov.profdata
62-
rusttool cov export --instr-profile codecov.profdata target/release/rustpython >codecov.lcov
63+
rusttool cov export --instr-profile codecov.profdata target/release/rustpython --format lcov >codecov.lcov
64+
lcov -r codecov.lcov '/*' -o codecov.lcov
6365
- name: upload to Codecov
6466
uses: codecov/codecov-action@v1
6567
with:

0 commit comments

Comments
 (0)
X Tutup