Skip to content

Commit

Permalink
build: clean up test matrices (#316)
Browse files Browse the repository at this point in the history
* build: clean up test matrices

* chore: allow ActiveRecord 7.2.x

* chore: pin to minor version

* chore: remove AR 7.2 from list
  • Loading branch information
olavloite authored Oct 18, 2024
1 parent 1c4d08d commit a8952ca
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 100 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/acceptance-tests-on-emulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,13 @@ jobs:
max-parallel: 4
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
ar: ["~> 6.0.6", "~> 6.1.7", "~> 7.0.4", "~> 7.1.0"]
ar: ["~> 6.1.0", "~> 7.0.0", "~> 7.1.0"]
# Exclude combinations that are not supported.
exclude:
- ruby: "2.7"
ar: "~> 7.2.0"
- ruby: "3.0"
ar: "~> 6.0.6"
- ruby: "3.1"
ar: "~> 6.0.6"
- ruby: "3.2"
ar: "~> 6.0.6"
- ruby: "3.3"
ar: "~> 6.0.6"
ar: "~> 7.2.0"
env:
AR_VERSION: ${{ matrix.ar }}
steps:
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,13 @@ jobs:
max-parallel: 4
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
ar: ["~> 6.0.6", "~> 6.1.7", "~> 7.0.4", "~> 7.1.0"]
ar: ["~> 6.1.0", "~> 7.0.0", "~> 7.1.0"]
# Exclude combinations that are not supported.
exclude:
- ruby: "2.7"
ar: "~> 7.2.0"
- ruby: "3.0"
ar: "~> 6.0.6"
- ruby: "3.1"
ar: "~> 6.0.6"
- ruby: "3.2"
ar: "~> 6.0.6"
- ruby: "3.3"
ar: "~> 6.0.6"
ar: "~> 7.2.0"
env:
AR_VERSION: ${{ matrix.ar }}
steps:
Expand Down
47 changes: 6 additions & 41 deletions .github/workflows/nightly-acceptance-tests-on-emulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,49 +18,14 @@ jobs:
strategy:
max-parallel: 4
matrix:
# Run acceptance tests all supported combinations of Ruby and ActiveRecord.
ruby: [2.7, 3.0, 3.1, 3.2, 3.3]
ar: [6.0.0, 6.0.1, 6.0.2.2, 6.0.3.7, 6.0.4, 6.1.3.2, 6.1.4.7, 6.1.5.1, 6.1.6.1, 7.0.2.4, 7.0.3.1, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.1.0, 7.1.1, 7.1.2]
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
ar: ["~> 6.1.0", "~> 7.0.0", "~> 7.1.0"]
# Exclude combinations that are not supported.
exclude:
- ruby: 3.0
ar: 6.0.0
- ruby: 3.0
ar: 6.0.1
- ruby: 3.0
ar: 6.0.2.2
- ruby: 3.0
ar: 6.0.3.7
- ruby: 3.0
ar: 6.0.4
- ruby: 3.1
ar: 6.0.0
- ruby: 3.1
ar: 6.0.1
- ruby: 3.1
ar: 6.0.2.2
- ruby: 3.1
ar: 6.0.3.7
- ruby: 3.1
ar: 6.0.4
- ruby: 3.2
ar: 6.0.0
- ruby: 3.2
ar: 6.0.1
- ruby: 3.2
ar: 6.0.2.2
- ruby: 3.2
ar: 6.0.3.7
- ruby: 3.2
ar: 6.0.4
- ruby: 3.3
ar: 6.0.0
- ruby: 3.3
ar: 6.0.1
- ruby: 3.3
ar: 6.0.2.2
- ruby: 3.3
ar: 6.0.3.7
- ruby: "2.7"
ar: "~> 7.2.0"
- ruby: "3.0"
ar: "~> 7.2.0"
env:
AR_VERSION: ${{ matrix.ar }}
steps:
Expand Down
50 changes: 7 additions & 43 deletions .github/workflows/nightly-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,51 +10,15 @@ jobs:
strategy:
max-parallel: 4
matrix:
# Run unit tests all supported combinations of Ruby and ActiveRecord.
ruby: [2.7, 3.0, 3.1, 3.2, 3.3]
ar: [6.0.0, 6.0.1, 6.0.2.2, 6.0.3.7, 6.0.4, 6.1.3.2, 6.1.4.7, 6.1.5.1, 6.1.6.1, 7.0.2.4, 7.0.3.1, 7.0.4, 7.0.5, 7.1.0, 7.1.1, 7.1.2]
# Run acceptance tests all supported combinations of Ruby and ActiveRecord.
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
ar: ["~> 6.1.0", "~> 7.0.0", "~> 7.1.0"]
# Exclude combinations that are not supported.
exclude:
- ruby: 3.0
ar: 6.0.0
- ruby: 3.0
ar: 6.0.1
- ruby: 3.0
ar: 6.0.2.2
- ruby: 3.0
ar: 6.0.3.7
- ruby: 3.0
ar: 6.0.4
- ruby: 3.1
ar: 6.0.0
- ruby: 3.1
ar: 6.0.1
- ruby: 3.1
ar: 6.0.2.2
- ruby: 3.1
ar: 6.0.3.7
- ruby: 3.1
ar: 6.0.4
- ruby: 3.2
ar: 6.0.0
- ruby: 3.2
ar: 6.0.1
- ruby: 3.2
ar: 6.0.2.2
- ruby: 3.2
ar: 6.0.3.7
- ruby: 3.2
ar: 6.0.4
- ruby: 3.3
ar: 6.0.0
- ruby: 3.3
ar: 6.0.1
- ruby: 3.3
ar: 6.0.2.2
- ruby: 3.3
ar: 6.0.3.7
- ruby: 3.3
ar: 6.0.4
- ruby: "2.7"
ar: "~> 7.2.0"
- ruby: "3.0"
ar: "~> 7.2.0"
env:
AR_VERSION: ${{ matrix.ar }}
steps:
Expand Down

0 comments on commit a8952ca

Please sign in to comment.