File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,14 +37,17 @@ jobs:
3737 working-directory : ./extra_tests
3838 continue-on-error : true
3939 - name : run cpython tests
40- run : LLVM_PROFILE_FILE="$PWD/regrtest.profraw" target/release/rustpython -m test -v
40+ run : LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v -x test_importlib
41+ continue-on-error : true
42+ - name : run test_importlib, separately
43+ run : LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v -x test_importlib
4144 continue-on-error : true
4245 - name : prepare code coverage data
4346 run : |
4447 rusttool() {
4548 local tool=$1; shift; "$(rustc --print target-libdir)/../bin/llvm-$tool" "$@"
4649 }
47- rusttool profdata merge extra_tests/snippet-*.profraw regrtest.profraw --output codecov.profdata
50+ rusttool profdata merge extra_tests/snippet-*.profraw regrtest-* .profraw --output codecov.profdata
4851 rusttool cov export --instr-profile codecov.profdata target/release/rustpython --format lcov > codecov_tmp.lcov
4952 lcov -e codecov_tmp.lcov "$PWD"/'*' -o codecov_tmp2.lcov
5053 lcov -r codecov_tmp2.lcov "$PWD"/target/'*' -o codecov.lcov # remove LALRPOP-generated parser
You can’t perform that action at this time.
0 commit comments