diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22279e4..97db50e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}