Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed Jun 8, 2022
1 parent f2a11a9 commit b304823
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/octokit.yml
Expand Up @@ -51,17 +51,23 @@ jobs:
- name: Setup .netrc
run: chmod 600 spec/fixtures/.netrc
- name: Ruby 2.5 needs a newer RubyGems to support frozen-string-literal
if: ${{ matrix.ruby == '2.5' }}
if: ${{ matrix.ruby == '2.5' || matrix.ruby == '2.4' || matrix.ruby == '2.3' }}
run: gem update --system 2.7.11
- name: Install dependencies
run: |
bundle config set path .bundle/gems
bundle config set without development
bundle install --jobs 4 --retry 3
- name: Test with RSpec
- name: Test with RSpec with frozen string literals enabled
env:
GITHUB_CI: 1
RUBYOPT: --enable-frozen-string-literal
if: ${{ matrix.ruby != '2.3' }}
run: bundle exec rspec -w
- name: Test with RSpec with frozen string literals disabled
env:
GITHUB_CI: 1
if: ${{ matrix.ruby == '2.3' }}
run: bundle exec rspec -w
- name: Lint with Rubocop
env:
Expand Down

0 comments on commit b304823

Please sign in to comment.