Skip to content

Commit

Permalink
Merge pull request #25 from winebarrel/add_ruby_3.2_test
Browse files Browse the repository at this point in the history
Add ruby 3.2 test
  • Loading branch information
winebarrel committed Jan 9, 2023
2 parents 8637e57 + 4147807 commit 3aaa87b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/test.yml
Expand Up @@ -19,27 +19,23 @@ jobs:
gemfile: gemfiles/faraday_2.0.gemfile
- ruby: 3.1
gemfile: gemfiles/faraday_2.0.gemfile
- ruby: 3.2
gemfile: gemfiles/faraday_2.0.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v2
with:
path: gemfiles/vendor/bundle
key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.gemfile }}-${{ hashFiles('faraday_middleware-aws-sigv4.gemspec', '**/Gemfile', '${{ matrix.gemfile }}') }}
restore-keys: |
${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.gemfile }}-
bundler-cache: true
- name: Setup dependencies
run: |
bundle config path vendor/bundle
bundle install
- name: Run tests
run: bundle exec rake
- name: Coveralls Parallel
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.ruby }}-${{ matrix.gemfile }}
Expand All @@ -49,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
1 change: 1 addition & 0 deletions .rubocop.yml
Expand Up @@ -4,6 +4,7 @@ require:
AllCops:
Exclude:
- "gemfiles/**/*"
- "vendor/bundle/**/*"
TargetRubyVersion: 2.5
NewCops: enable
Bundler/OrderedGems:
Expand Down

0 comments on commit 3aaa87b

Please sign in to comment.