Skip to content

Commit

Permalink
Github Actions: Skips gem update
Browse files Browse the repository at this point in the history
- Does not work with Ruby 2.6 and 2.7 anymore
  • Loading branch information
davidwessman authored and glebm committed Dec 31, 2023
1 parent a41b6ac commit 7bcfe96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ jobs:
- name: "Determine whether to upload coverage"
if: ${{ env.CC_TEST_REPORTER_ID && startsWith(matrix.ruby-version, '3.0') && github.ref == 'refs/heads/main' }}
run: echo UPLOAD_COVERAGE=1 >> $GITHUB_ENV
- name: Ruby 2.6 gem update
if: ${{ startsWith(matrix.ruby-version, '2.6') }}
run: gem update --system 3.2.3
- name: Install dependencies
run: gem update --system && bundle install
run: bundle install
- name: Run tests
if: ${{ !env.UPLOAD_COVERAGE }}
run: bundle exec rake
Expand Down

0 comments on commit 7bcfe96

Please sign in to comment.