Skip to content

Commit

Permalink
added EDB-16
Browse files Browse the repository at this point in the history
  • Loading branch information
KushnirykOleh committed Aug 22, 2024
1 parent f9098c7 commit c7b33ce
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/advanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
required: true
default: "[\"mysql-5.6\",\"mysql-5.7\",\"mysql-8\",\"postgres-12\",\"postgres-13\",\"postgres-14\",\"postgres-15\",\"postgres-16\",\"mariadb-10.2\",\"mariadb-10.3\",\"mariadb-10.4\",\"mariadb-10.5\",\"mariadb-10.6\",
\"mariadb-10.7\",\"mssql-2017\",\"mssql-2019\",\"mssql-2022\",\"crdb-23.1\",\"crdb-23.2\",\"crdb-24.1\",\"percona-xtradb-cluster-5.7\",\"percona-xtradb-cluster-8.0\",
\"edb-edb-12\",\"edb-edb-13\",\"edb-edb-14\",\"edb-edb-15\",\"db2-luw\",\"H2Database-2.2\",\"sqlite\",\"derby\",
\"edb-edb-12\",\"edb-edb-13\",\"edb-edb-14\",\"edb-edb-15\",\"edb-edb-16\",\"db2-luw\",\"H2Database-2.2\",\"sqlite\",\"derby\",
\"firebird-3\",\"firebird-4\",\"hsqldb-2.4\",\"hsqldb-2.5\",\"diff\"]"

jobs:
Expand All @@ -52,7 +52,7 @@ jobs:
databases: ${{ github.event.inputs.databases || '["mysql-5.6","mysql-5.7","mysql-8",
"postgres-12","postgres-13","postgres-14","postgres-15","postgres-16","mariadb-10.2","mariadb-10.3","mariadb-10.4","mariadb-10.5","mariadb-10.6",
"mariadb-10.7","mssql-2017","mssql-2019","mssql-2022","crdb-23.1","crdb-23.2","crdb-24.1","percona-xtradb-cluster-5.7","percona-xtradb-cluster-8.0",
"edb-edb-12","edb-edb-13","edb-edb-14","edb-edb-15","db2-luw","H2Database-2.2","sqlite","derby","firebird-3","firebird-4",
"edb-edb-12","edb-edb-13","edb-edb-14","edb-edb-15","edb-edb-16","db2-luw","H2Database-2.2","sqlite","derby","firebird-3","firebird-4",
"hsqldb-2.4","hsqldb-2.5","diff"]' }}
testClasses: ${{ 'AdvancedHarnessSuiteTest' }}
steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@ on:
"edb-postgres-13",
"edb-postgres-14",
"edb-postgres-15",
"edb-postgres-16",
"edb-edb-12",
"edb-edb-13",
"edb-edb-14",
"edb-edb-15",
"edb-edb-16",
"derby",
"sqlite",
"hsqldb-2.4",
Expand Down Expand Up @@ -115,8 +117,8 @@ jobs:
databases: ${{ github.event.inputs.databases || '["mysql-5.6","mysql-5.7","mysql-8","percona-xtradb-cluster-5.7","percona-xtradb-cluster-8.0",
"postgres-12","postgres-13","postgres-14","postgres-15","postgres-16","mariadb-10.2","mariadb-10.3","mariadb-10.4","mariadb-10.5","mariadb-10.6",
"mariadb-10.7","mssql-2017","mssql-2019","mssql-2022","H2Database-2.2","crdb-23.1","crdb-23.2","crdb-24.1",
"edb-postgres-12","edb-postgres-13","edb-postgres-14","edb-postgres-15",
"edb-edb-12","edb-edb-13","edb-edb-14","edb-edb-15","derby","sqlite","hsqldb-2.4","hsqldb-2.5","firebird-3","firebird-4","db2-luw"]' }}
"edb-postgres-12","edb-postgres-13","edb-postgres-14","edb-postgres-15","edb-postgres-16",
"edb-edb-12","edb-edb-13","edb-edb-14","edb-edb-15","edb-edb-16","derby","sqlite","hsqldb-2.4","hsqldb-2.5","firebird-3","firebird-4","db2-luw"]' }}
testClasses: ${{ inputs.testClasses || 'LiquibaseHarnessSuiteTest' }}
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions src/test/resources/automation-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ case $db in
"edb-postgres-15" )
test_command mvn -ntp -Dtest=$tc -DdbName=edb-postgres -DdbVersion=15 test
;;
"edb-postgres-16" )
test_command mvn -ntp -Dtest=$tc -DdbName=edb-postgres -DdbVersion=16 test
;;
"edb-edb-12" )
test_command mvn -ntp -Dtest=$tc -DdbName=edb-edb -DdbVersion=12 test
;;
Expand All @@ -104,6 +107,9 @@ case $db in
"edb-edb-15" )
test_command mvn -ntp -Dtest=$tc -DdbName=edb-edb -DdbVersion=15 test
;;
"edb-edb-16" )
test_command mvn -ntp -Dtest=$tc -DdbName=edb-edb -DdbVersion=16 test
;;
"derby" )
test_command mvn -ntp -Dtest=$tc -DdbName=derby test
;;
Expand Down
22 changes: 22 additions & 0 deletions src/test/resources/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,28 @@ services:
volumes:
- "./postgres-init.sh:/docker-entrypoint-initdb.d/postgres-init.sh"

edb-postgres-16:
image: ghcr.io/enterprisedb/postgresql:16
ports:
- "5509:5432"
restart: always
environment:
POSTGRES_PASSWORD: LbRootPass1
POSTGRES_DB: lbcat
volumes:
- "./postgres-init.sh:/docker-entrypoint-initdb.d/postgres-init.sh"

edb-edb-16:
image: ghcr.io/enterprisedb/postgresql:16
ports:
- "5510:5432"
restart: always
environment:
POSTGRES_PASSWORD: LbRootPass1
POSTGRES_DB: lbcat
volumes:
- "./postgres-init.sh:/docker-entrypoint-initdb.d/postgres-init.sh"

mariadb-10.2:
image: mariadb:10.2
ports:
Expand Down
14 changes: 14 additions & 0 deletions src/test/resources/harness-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ databasesUnderTest:
username: lbuser
password: LiquibasePass1

- name: edb-postgres
prefix: docker
version: 16
url: jdbc:postgresql://localhost:5509/lbcat
username: lbuser
password: LiquibasePass1

- name: edb-edb
prefix: docker
version: 12
Expand Down Expand Up @@ -237,6 +244,13 @@ databasesUnderTest:
username: lbuser
password: LiquibasePass1

- name: edb-edb
prefix: docker
version: 16
url: jdbc:edb://localhost:5510/lbcat
username: lbuser
password: LiquibasePass1

- name: h2
prefix: local
url: jdbc:h2:file:./src/test/resources/H2/lbcat
Expand Down

0 comments on commit c7b33ce

Please sign in to comment.