mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Tweak lcov commands to not delete everything
This commit is contained in:
1 file changed
+3
-2
@@ -45,8 +45,9 @@ jobs:
|
||||
local tool=$1; shift; "$(rustc --print target-libdir)/../bin/llvm-$tool" "$@"
|
||||
}
|
||||
rusttool profdata merge extra_tests/snippet-*.profraw regrtest.profraw --output codecov.profdata
|
||||
rusttool cov export --instr-profile codecov.profdata target/release/rustpython --format lcov >codecov.lcov
|
||||
lcov -r codecov.lcov '/*' -o codecov.lcov
|
||||
rusttool cov export --instr-profile codecov.profdata target/release/rustpython --format lcov > codecov_tmp.lcov
|
||||
lcov -e codecov_tmp.lcov "$PWD"/'*' -o codecov_tmp2.lcov
|
||||
lcov -r codecov_tmp2.lcov "$PWD"/target/'*' -o codecov.lcov # remove LALRPOP-generated parser
|
||||
- name: upload to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user