.github/workflows/ruby-tests.yml in tracker_api-1.13.0 vs .github/workflows/ruby-tests.yml in tracker_api-1.14.0
- old
+ new
@@ -7,15 +7,28 @@
branches: [ master ]
jobs:
test:
+ name: Specs - Ruby ${{ matrix.ruby-version }} ${{matrix.gemfile}}
runs-on: ubuntu-latest
+ env:
+ CC_TEST_REPORTER_ID: 2a6849be8214739deef0090b810b945ce9a550a4d8279d242cb03242d1ad53c5
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
strategy:
matrix:
- ruby-version: [2.7, 2.6, 2.5]
+ gemfile:
+ - faraday-1
+ - faraday-2
+ ruby-version:
+ - "3.1"
+ - "3.0"
+ - "2.7"
+ - "2.6"
+ - jruby
+ - truffleruby
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
@@ -24,11 +37,7 @@
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test
- name: Upload Coverage
- uses: paambaati/codeclimate-action@v2.7.5
- env:
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
- with:
- coverageLocations: ${{github.workspace}}/coverage/.resultset.json:simplecov
- if: matrix.ruby-version == '2.7'
+ uses: paambaati/codeclimate-action@v3.0.0
+ if: matrix.ruby-version == '3.1' && matrix.gemfile == 'faraday-2'