Skip to content

Commit 28060df

Browse files
kvzrmehner
andcommitted
Only run parity test & produce coverage for 3.3
Co-Authored-By: Robin Mehner <[email protected]>
1 parent 93ec1aa commit 28060df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
ruby-version: ${{ matrix.ruby }}
3232
bundler-cache: true
3333
- run: bundle exec standardrb
34-
- name: Run tests with coverage
34+
- name: Run tests
3535
env:
36-
COVERAGE: 1
37-
TEST_NODE_PARITY: 1
36+
COVERAGE: ${{ matrix.ruby == '3.3' && '1' || '0' }}
37+
TEST_NODE_PARITY: ${{ matrix.ruby == '3.3' && '1' || '0' }}
3838
run: bundle exec rake test
3939
- name: Upload coverage to Codecov
40-
if: matrix.ruby == 3.3
40+
if: matrix.ruby == '3.3'
4141
uses: codecov/codecov-action@v5
4242
with:
4343
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)