File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
on :
3
+ push :
3
4
pull_request :
4
5
jobs :
5
6
lint :
27
28
- name : build (LLVM ${{ matrix.llvm_version }})
28
29
# Run the build manually in `nix develop` to keep non-outputs around
29
30
run : |
30
- nix develop .#oid-llvm${{ matrix.llvm_version }} --command cmake -B build -G Ninja -DWITH_FLAKY_TESTS=Off -DFORCE_BOOST_STATIC=Off
31
+ nix develop .#oid-llvm${{ matrix.llvm_version }} --command cmake -B build -G Ninja \
32
+ -DWITH_FLAKY_TESTS=Off \
33
+ -DFORCE_BOOST_STATIC=Off \
34
+ -DCODE_COVERAGE=On
31
35
nix develop .#oid-llvm${{ matrix.llvm_version }} --command ninja -C build
32
36
- name : test (LLVM ${{ matrix.llvm_version }})
33
37
env :
46
50
--repeat until-pass:3 \
47
51
--exclude-from-file ../../.github/workflows/tests_failing_under_nix.txt \
48
52
--output-junit results.xml
53
+
54
+ - name : coverage
55
+ continue-on-error : true
56
+ uses : coverallsapp/github-action@v2
57
+ with :
58
+ flag-name : run-${{ join(matrix.*, '-') }}
59
+ parallel : true
60
+
49
61
- name : upload results
50
62
uses : actions/upload-artifact@v4
51
63
if : success() || failure()
52
64
with :
53
65
name : test-results-${{ matrix.llvm_version }}
54
66
path : build/test/results.xml
67
+
68
+ finalise-coverage :
69
+ needs : build-test
70
+ if : ${{ always() }}
71
+ runs-on : ubuntu-latest
72
+ steps :
73
+ - name : finalise coverage
74
+ uses : coverallsapp/github-action@v2
75
+ with :
76
+ parallel-finished : true
77
+ carryforward : " run-15,run-16"
78
+
You can’t perform that action at this time.
0 commit comments