File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v2
1717 - uses : actions-rs/toolchain@v1
18+ with :
19+ components : llvm-tools-preview
1820 - run : sudo apt-get update && sudo apt-get -y install lcov
1921 - uses : actions-rs/cargo@v1
2022 with :
@@ -43,10 +45,11 @@ jobs:
4345 local tool=$1; shift; "$(rustc --print target-libdir)/../bin/llvm-$tool" "$@"
4446 }
4547 rusttool profdata merge extra_tests/snippet-*.profraw regrtest.profraw --output codecov.profdata
46- rusttool cov export --instr-profile codecov.profdata target/release/rustpython --format lcov >codecov.lcov
47- lcov -r codecov.lcov '/*' -o codecov.lcov
48+ rusttool cov export --instr-profile codecov.profdata target/release/rustpython --format lcov > codecov_tmp.lcov
49+ lcov -e codecov_tmp.lcov "$PWD"/'*' -o codecov_tmp2.lcov
50+ lcov -r codecov_tmp2.lcov "$PWD"/target/'*' -o codecov.lcov # remove LALRPOP-generated parser
4851 - name : upload to Codecov
49- uses : codecov/codecov-action@v1
52+ uses : codecov/codecov-action@v3
5053 with :
5154 file : ./codecov.lcov
5255
You can’t perform that action at this time.
0 commit comments