Skip to content

Commit

Permalink
Only run parity test & produce coverage for 3.3
Browse files Browse the repository at this point in the history
Co-Authored-By: Robin Mehner <robin@coding-robin.de>
  • Loading branch information
kvz and rmehner committed Dec 5, 2024
1 parent 93ec1aa commit 28060df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec standardrb
- name: Run tests with coverage
- name: Run tests
env:
COVERAGE: 1
TEST_NODE_PARITY: 1
COVERAGE: ${{ matrix.ruby == '3.3' && '1' || '0' }}
TEST_NODE_PARITY: ${{ matrix.ruby == '3.3' && '1' || '0' }}
run: bundle exec rake test
- name: Upload coverage to Codecov
if: matrix.ruby == 3.3
if: matrix.ruby == '3.3'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 28060df

Please sign in to comment.