Skip to content

Commit

Permalink
Merge pull request #1214 from collectiveidea/pull-envato-pr
Browse files Browse the repository at this point in the history
CI: be precise regarding the Ubuntu version
  • Loading branch information
albus522 authored Aug 13, 2024
2 parents aea60a4 + 9802853 commit 1420ad0
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:

jobs:
test:
runs-on: ubuntu-latest
name: Test (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails_version }})
runs-on: ubuntu-${{ matrix.ubuntu }}
strategy:
fail-fast: false
matrix:
Expand All @@ -18,67 +19,93 @@ jobs:
- '7.1.0'
- '7.2.0'
- 'edge'
ubuntu: [latest]
include:
# Ruby 2.6
- ruby: 2.6
rails_version: '6.0.0'
ubuntu: '20.04'
- ruby: 2.6
rails_version: '6.1.0'
ubuntu: '20.04'

# jruby-9.2
- ruby: jruby-9.2
rails_version: '6.0.0'
ubuntu: '20.04'
- ruby: jruby-9.2
rails_version: '6.1.0'
ubuntu: '20.04'

#
# The past
#
# EOL Active Record
- ruby: 2.2
rails_version: '3.2.0'
ubuntu: '20.04'
- ruby: 2.1
rails_version: '4.1.0'
ubuntu: '20.04'
- ruby: 2.4
rails_version: '4.2.0'
ubuntu: '20.04'
- ruby: 2.4
rails_version: '5.0.0'
ubuntu: '20.04'
- ruby: 2.5
rails_version: '5.1.0'
ubuntu: '20.04'
- ruby: 2.6
rails_version: '5.2.0'
ubuntu: '20.04'
- ruby: 2.7
rails_version: '5.2.0'
ubuntu: '22.04'
- ruby: jruby-9.2
rails_version: '5.2.0'
ubuntu: '22.04'
- ruby: 2.7
rails_version: '6.0.0'
ubuntu: '22.04'
- ruby: 3.0
rails_version: '6.0.0'
ubuntu: '22.04'
- ruby: 3.2
rails_version: '6.0.0'
ubuntu: '22.04'
- ruby: jruby-9.4
rails_version: '6.0.0'
ubuntu: '22.04'
- ruby: 2.7
rails_version: '6.1.0'
ubuntu: '22.04'
- ruby: 3.0
rails_version: '6.1.0'
ubuntu: '22.04'
- ruby: 3.2
rails_version: '6.1.0'
ubuntu: '22.04'
- ruby: jruby-9.4
rails_version: '6.0.0'
ubuntu: '22.04'
- ruby: 2.7
rails_version: '7.0.0'
ubuntu: '22.04'
- ruby: 3.0
rails_version: '7.0.0'
ubuntu: '22.04'
- ruby: jruby-9.4
rails_version: '6.0.0'
ubuntu: '22.04'

# EOL Ruby
- ruby: 2.7
rails_version: '7.1.0'
ubuntu: '22.04'
- ruby: 3.0
rails_version: '7.1.0'
ubuntu: '22.04'

continue-on-error: ${{ matrix.rails_version == 'edge' || endsWith(matrix.ruby, 'head') }}

Expand Down

0 comments on commit 1420ad0

Please sign in to comment.