Commit 48ddcae 1 parent 4226a05 commit 48ddcae Copy full SHA for 48ddcae
File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- master # Only run when PR is raised for master
10
10
11
+ permissions :
12
+ pull-requests : write
13
+
11
14
# This ensures for a single PR one job is run in case of multiple runs
12
15
concurrency :
13
16
group : build-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
21
24
# Run Tests
22
25
- name : Run Tests
23
26
run : docker-compose -f "docker-compose.test.yml" up --build
27
+
28
+ - name : Code Coverage Report
29
+
30
+ with :
31
+ filename : ./temp/testresults/coverage.xml
32
+ badge : true
33
+ fail_below_min : true
34
+ format : markdown
35
+ hide_branch_rate : false
36
+ hide_complexity : true
37
+ indicators : true
38
+ output : both
39
+ thresholds : ' 60 80'
40
+ - name : Add Coverage PR Comment
41
+ uses : marocchino/sticky-pull-request-comment@v2
42
+ if : github.event_name == 'pull_request'
43
+ with :
44
+ recreate : true
45
+ path : code-coverage-results.md
You can’t perform that action at this time.
0 commit comments