Skip to content

Commit 28908e0

Browse files
committed
ci: trying to get coverage right
1 parent 146b334 commit 28908e0

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/coverage.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ jobs:
99
SimpleCov:
1010
runs-on: ubuntu-latest
1111
steps:
12+
# Only download this if the coverage/ directory isn't present
13+
- if: !exists('coverage/index.html')
14+
uses: actions/download-artifact@v4
15+
with:
16+
name: coverage-report
17+
1218
- name: Check SimpleCov coverage
1319
uses: joshmfrankel/simplecov-check-action@main
1420
with:

.github/workflows/main.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ jobs:
3131
env:
3232
COVERAGE: "true"
3333

34-
- name: Check SimpleCov coverage
35-
uses: joshmfrankel/simplecov-check-action@main
34+
- name: Upload coverage results
35+
uses: actions/upload-artifact@v4
3636
with:
37-
minimum_suite_coverage: 97
38-
minimum_file_coverage: 90
39-
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
name: coverage-report
38+
path: coverage/

0 commit comments

Comments
 (0)