Skip to content

Commit 978575c

Browse files
authored
Merge pull request #321 from rspec/coverage-tweaks
Tweak coverage checks for CI
2 parents 09ca713 + 6aba96a commit 978575c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ci/.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ jobs:
8080
- run: bundle install --standalone
8181
- run: bundle binstubs --all
8282
- run: script/run_build
83+
- name: Store coverage output for reference
84+
uses: actions/upload-artifact@v4
85+
if: failure()
86+
with:
87+
name: coverage-report-${{ matrix.ruby }}
88+
path: coverage/index.html
89+
retention-days: 14
8390

8491
legacy:
8592
name: Legacy Ruby Builds (${{ matrix.container.version }})
@@ -120,6 +127,7 @@ jobs:
120127
env:
121128
LEGACY_CI: true
122129
JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }}
130+
NO_COVERAGE: true
123131
steps:
124132
- uses: actions/checkout@v3
125133
- run: ${{ matrix.container.pre }}

0 commit comments

Comments
 (0)