Only define matrices for valid test environments

Removes ruby 3.0 completely and ignores sqlite and postgres for the
older Ruby versions
This commit is contained in:
Matt Rogers 2021-07-24 19:02:15 +00:00 committed by GitHub
parent 9dd0ee6cef
commit 2d20c8b40e

View file

@ -6,8 +6,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.5", "2.6", "2.7", "3.0"]
ruby: ["2.5", "2.6", "2.7"]
db: [sqlite, mysql, postgres]
exclude:
- ruby: "2.5"
db: [sqlite, postgres]
- ruby: "2.6"
db: [sqlite, postgres]
steps:
- uses: actions/checkout@v1
- run: bash -x script/cibuild ${{ matrix.ruby }} ${{ matrix.db }}