File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,17 @@ jobs:
37
37
working-directory : ./extra_tests
38
38
continue-on-error : true
39
39
- 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
41
44
continue-on-error : true
42
45
- name : prepare code coverage data
43
46
run : |
44
47
rusttool() {
45
48
local tool=$1; shift; "$(rustc --print target-libdir)/../bin/llvm-$tool" "$@"
46
49
}
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
48
51
rusttool cov export --instr-profile codecov.profdata target/release/rustpython --format lcov > codecov_tmp.lcov
49
52
lcov -e codecov_tmp.lcov "$PWD"/'*' -o codecov_tmp2.lcov
50
53
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