Skip to content

Commit

Permalink
Update database workflows
Browse files Browse the repository at this point in the history
* Always use MySQL 8.0 (the bug that we had has been fixed)
* Remove Oracle 11 and add 21
* Remove Postgres 9 and 10 and add 14
* Add SQL Server 2019
  • Loading branch information
filiphr committed Aug 2, 2022
1 parent 93abeeb commit e637674
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 30 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Not testing with latest 8 since they have a bug for exists sub query with order by in the outer
# See https://bugs.mysql.com/bug.php?id=99019
mysql: [5.7, 8.0.18]
mysql: [5.7, 8.0]
services:
mysql:
image: mysql:${{ matrix.mysql }}
Expand Down Expand Up @@ -63,9 +61,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Not testing with latest 8 since they have a bug for exists sub query with order by in the outer
# See https://bugs.mysql.com/bug.php?id=99019
mysql: [5.7, 8.0.18]
mysql: [5.7, 8.0]
services:
mysql:
image: mysql:${{ matrix.mysql }}
Expand Down Expand Up @@ -107,9 +103,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Not testing with latest 8 since they have a bug for exists sub query with order by in the outer
# See https://bugs.mysql.com/bug.php?id=99019
mysql: [5.7, 8.0.18]
mysql: [5.7, 8.0]
services:
mysql:
image: mysql:${{ matrix.mysql }}
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
strategy:
fail-fast: false
matrix:
oracle: [ "11-slim", "18-slim" ]
oracle: [ "18-slim", "21-slim" ]
include:
- oracle: 11-slim
driverVersion: 11.2.0.4
driverArtifact: ojdbc6
serviceName: XE
- oracle: 18-slim
driverVersion: 18.3.0.0
driverArtifact: ojdbc8
serviceName: XEPDB1
- oracle: 21-slim
driverVersion: 21.6.0.0.1
driverArtifact: ojdbc8
serviceName: XEPDB1
services:
oracle:
image: gvenzl/oracle-xe:${{ matrix.oracle }}
Expand Down Expand Up @@ -70,16 +70,16 @@ jobs:
strategy:
fail-fast: false
matrix:
oracle: [ "11-slim", "18-slim" ]
oracle: [ "18-slim", "21-slim" ]
include:
- oracle: 11-slim
driverVersion: 11.2.0.4
driverArtifact: ojdbc6
serviceName: XE
- oracle: 18-slim
driverVersion: 18.3.0.0
driverArtifact: ojdbc8
serviceName: XEPDB1
- oracle: 21-slim
driverVersion: 21.6.0.0.1
driverArtifact: ojdbc8
serviceName: XEPDB1
services:
oracle:
image: gvenzl/oracle-xe:${{ matrix.oracle }}
Expand Down Expand Up @@ -123,16 +123,16 @@ jobs:
strategy:
fail-fast: false
matrix:
oracle: [ "11-slim", "18-slim" ]
oracle: [ "18-slim", "21-slim" ]
include:
- oracle: 11-slim
driverVersion: 11.2.0.4
driverArtifact: ojdbc6
serviceName: XE
- oracle: 18-slim
driverVersion: 18.3.0.0
driverArtifact: ojdbc8
serviceName: XEPDB1
- oracle: 21-slim
driverVersion: 21.6.0.0.1
driverArtifact: ojdbc8
serviceName: XEPDB1
services:
oracle:
image: gvenzl/oracle-xe:${{ matrix.oracle }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [10, 11, 12, 13, 14]
postgres: [11, 12, 13, 14]
services:
postgres:
image: postgres:${{ matrix.postgres }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [9, 10, 11, 12, 13]
postgres: [11, 12, 13, 14]
services:
postgres:
image: postgres:${{ matrix.postgres }}
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [9, 10, 11, 12, 13]
postgres: [11, 12, 13, 14]
services:
postgres:
image: postgres:${{ matrix.postgres }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sql-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
mssql: [2017-latest-ubuntu]
mssql: [2017-latest-ubuntu, 2019-latest]
services:
mssql:
image: mcr.microsoft.com/mssql/server:${{ matrix.mssql }}
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
strategy:
fail-fast: false
matrix:
mssql: [2017-latest-ubuntu]
mssql: [2017-latest-ubuntu, 2019-latest]
services:
mssql:
image: mcr.microsoft.com/mssql/server:${{ matrix.mssql }}
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
strategy:
fail-fast: false
matrix:
mssql: [2017-latest-ubuntu]
mssql: [2017-latest-ubuntu, 2019-latest]
services:
mssql:
image: mcr.microsoft.com/mssql/server:${{ matrix.mssql }}
Expand Down

0 comments on commit e637674

Please sign in to comment.