Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Use include to test rails 5.2, and remove ruby 2.5, instead of many exclude
Run coverage with one version
  • Loading branch information
scambra authored Sep 25, 2024
1 parent e295e32 commit 9d4c6df
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,16 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ "3.2", "3.1", "3.0", "2.7", "2.6", "2.5", jruby-9.4 ]
rails: [ "6.1", "6.0", "5.2" ]
exclude:
- ruby: '3.2'
rails: '5.2'
- ruby: '3.1'
rails: '5.2'
- ruby: '3.0'
rails: '5.2'
- ruby: '2.7'
ruby: [ "3.2", "3.1", "3.0", "2.7", "2.6", jruby-9.4 ]
rails: [ "6.1", "6.0" ]
include:
- ruby: '2.6'
rails: '5.2'
- ruby: jruby-9.4
rails: '5.2'
- ruby: '2.5'
rails: '6.0'
- ruby: '2.5'
rails: '5.2'
- ruby: '3.2'
rails: '6.1'
coverage: true
timeout-minutes: 60
env:
JRUBY_OPTS: "--debug"
Expand All @@ -129,9 +122,11 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- run: "./cc-test-reporter after-build -t simplecov"
if: ${{ matrix.coverage }}
- uses: actions/[email protected]
if: success()
with:
name: "${{ github.job }}"
retention-days: 1
path: coverage
path: coverage

0 comments on commit 9d4c6df

Please sign in to comment.