Skip to content

Commit 3c649cb

Browse files
committed
FORGET IT - TEST REPORTS AREN'T WORTH THAT MUCH TROUBLE! ;)
1 parent 00c8b3c commit 3c649cb

File tree

1 file changed

+2
-38
lines changed

1 file changed

+2
-38
lines changed

.github/workflows/makefile.yml

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -22,46 +22,10 @@ jobs:
2222
- name: Install make
2323
run: |
2424
apt update && apt upgrade -y
25-
apt install -y make git shellcheck xmlstarlet build-essential
25+
apt install -y make git shellcheck xmlstarlet
2626
- uses: actions/checkout@v4
2727
with:
2828
submodules: recursive
2929

3030
- name: Build & Test
31-
run: make all
32-
33-
- name: Produce the coverage report
34-
uses: insightsengineering/coverage-action@v3
35-
with:
36-
# Path to the Cobertura XML report.
37-
path: test-results/coverage/bats/cobertura.xml
38-
# Minimum total coverage, if you want to the
39-
# workflow to enforce it as a standard.
40-
# This has no effect if the `fail` arg is set to `false`.
41-
threshold: 80.0
42-
# Fail the workflow if the minimum code coverage
43-
# reuqirements are not satisfied.
44-
fail: true
45-
# Publish the rendered output as a PR comment
46-
publish: true
47-
# Create a coverage diff report.
48-
diff: true
49-
# Branch to diff against.
50-
# Compare the current coverage to the coverage
51-
# determined on this branch.
52-
diff-branch: main
53-
# This is where the coverage reports for the
54-
# `diff-branch` are stored.
55-
# Branch is created if it doesn't already exist'.
56-
diff-storage: _xml_coverage_reports
57-
# A custom title that can be added to the code
58-
# coverage summary in the PR comment.
59-
coverage-summary-title: "Code Coverage Summary"
60-
# Failure modes for coverage regression detection:
61-
# Fail if any changed file has more uncovered lines (pycobertura exit code 2)
62-
uncovered-statements-increase-failure: false
63-
# Fail if new uncovered statements are introduced despite overall improvement (pycobertura exit code 3)
64-
new-uncovered-statements-failure: false
65-
# Fail if the overall coverage percentage decreases (more forgiving approach)
66-
coverage-rate-reduction-failure: true
67-
31+
run: make all

0 commit comments

Comments
 (0)