@@ -515,8 +515,8 @@ jobs:
515
515
name : mysql_8.0_integration_test_reports_${{ matrix.mode.label }}
516
516
path : core/build/reports/tests/integrationTestJdbc
517
517
518
- integration-test-for-jdbc-mysql-8-1 :
519
- name : MySQL 8.1 integration test (${{ matrix.mode.label }})
518
+ integration-test-for-jdbc-mysql-8-4 :
519
+ name : MySQL 8.4 integration test (${{ matrix.mode.label }})
520
520
runs-on : ubuntu-latest
521
521
522
522
strategy :
@@ -528,9 +528,9 @@ jobs:
528
528
group_commit_enabled : true
529
529
530
530
steps :
531
- - name : Run MySQL 8.1
531
+ - name : Run MySQL 8.4
532
532
run : |
533
- docker run -e MYSQL_ROOT_PASSWORD=mysql -p 3306:3306 -d mysql:8.1 --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
533
+ docker run -e MYSQL_ROOT_PASSWORD=mysql -p 3306:3306 -d mysql:8.4 --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
534
534
535
535
- uses : actions/checkout@v4
536
536
@@ -571,16 +571,16 @@ jobs:
571
571
if : always()
572
572
uses : actions/upload-artifact@v4
573
573
with :
574
- name : mysql_8.1_integration_test_reports_ ${{ matrix.mode.label }}
574
+ name : mysql_8.4_integration_test_reports_ ${{ matrix.mode.label }}
575
575
path : core/build/reports/tests/integrationTestJdbc
576
576
577
- integration-test-for-jdbc-postgresql-12 :
578
- name : PostgreSQL 12 integration test (${{ matrix.mode.label }})
577
+ integration-test-for-jdbc-postgresql-13 :
578
+ name : PostgreSQL 13 integration test (${{ matrix.mode.label }})
579
579
runs-on : ubuntu-latest
580
580
581
581
services :
582
582
postgres :
583
- image : postgres:12 -alpine
583
+ image : postgres:13 -alpine
584
584
env :
585
585
POSTGRES_USER : postgres
586
586
POSTGRES_PASSWORD : postgres
@@ -635,16 +635,16 @@ jobs:
635
635
if : always()
636
636
uses : actions/upload-artifact@v4
637
637
with :
638
- name : postgresql_12_integration_test_reports_ ${{ matrix.mode.label }}
638
+ name : postgresql_13_integration_test_reports_ ${{ matrix.mode.label }}
639
639
path : core/build/reports/tests/integrationTestJdbc
640
640
641
- integration-test-for-jdbc-postgresql-13 :
642
- name : PostgreSQL 13 integration test (${{ matrix.mode.label }})
641
+ integration-test-for-jdbc-postgresql-14 :
642
+ name : PostgreSQL 14 integration test (${{ matrix.mode.label }})
643
643
runs-on : ubuntu-latest
644
644
645
645
services :
646
646
postgres :
647
- image : postgres:13 -alpine
647
+ image : postgres:14 -alpine
648
648
env :
649
649
POSTGRES_USER : postgres
650
650
POSTGRES_PASSWORD : postgres
@@ -699,16 +699,16 @@ jobs:
699
699
if : always()
700
700
uses : actions/upload-artifact@v4
701
701
with :
702
- name : postgresql_13_integration_test_reports_ ${{ matrix.mode.label }}
702
+ name : postgresql_14_integration_test_reports_ ${{ matrix.mode.label }}
703
703
path : core/build/reports/tests/integrationTestJdbc
704
704
705
- integration-test-for-jdbc-postgresql-14 :
706
- name : PostgreSQL 14 integration test (${{ matrix.mode.label }})
705
+ integration-test-for-jdbc-postgresql-15 :
706
+ name : PostgreSQL 15 integration test (${{ matrix.mode.label }})
707
707
runs-on : ubuntu-latest
708
708
709
709
services :
710
710
postgres :
711
- image : postgres:14 -alpine
711
+ image : postgres:15 -alpine
712
712
env :
713
713
POSTGRES_USER : postgres
714
714
POSTGRES_PASSWORD : postgres
@@ -763,16 +763,16 @@ jobs:
763
763
if : always()
764
764
uses : actions/upload-artifact@v4
765
765
with :
766
- name : postgresql_14_integration_test_reports_ ${{ matrix.mode.label }}
766
+ name : postgresql_15_integration_test_reports_ ${{ matrix.mode.label }}
767
767
path : core/build/reports/tests/integrationTestJdbc
768
768
769
- integration-test-for-jdbc-postgresql-15 :
770
- name : PostgreSQL 15 integration test (${{ matrix.mode.label }})
769
+ integration-test-for-jdbc-postgresql-16 :
770
+ name : PostgreSQL 16 integration test (${{ matrix.mode.label }})
771
771
runs-on : ubuntu-latest
772
772
773
773
services :
774
774
postgres :
775
- image : postgres:15 -alpine
775
+ image : postgres:16 -alpine
776
776
env :
777
777
POSTGRES_USER : postgres
778
778
POSTGRES_PASSWORD : postgres
@@ -827,7 +827,71 @@ jobs:
827
827
if : always()
828
828
uses : actions/upload-artifact@v4
829
829
with :
830
- name : postgresql_15_integration_test_reports_${{ matrix.mode.label }}
830
+ name : postgresql_16_integration_test_reports_${{ matrix.mode.label }}
831
+ path : core/build/reports/tests/integrationTestJdbc
832
+
833
+ integration-test-for-jdbc-postgresql-17 :
834
+ name : PostgreSQL 17 integration test (${{ matrix.mode.label }})
835
+ runs-on : ubuntu-latest
836
+
837
+ services :
838
+ postgres :
839
+ image : postgres:17-alpine
840
+ env :
841
+ POSTGRES_USER : postgres
842
+ POSTGRES_PASSWORD : postgres
843
+ ports :
844
+ - 5432:5432
845
+
846
+ strategy :
847
+ matrix :
848
+ mode :
849
+ - label : default
850
+ group_commit_enabled : false
851
+ - label : with_group_commit
852
+ group_commit_enabled : true
853
+
854
+ steps :
855
+ - uses : actions/checkout@v4
856
+
857
+ - name : Set up JDK ${{ env.JAVA_VERSION }} (${{ env.JAVA_VENDOR }})
858
+ uses : actions/setup-java@v4
859
+ with :
860
+ java-version : ${{ env.JAVA_VERSION }}
861
+ distribution : ${{ env.JAVA_VENDOR }}
862
+
863
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}) to run integration test
864
+ uses : actions/setup-java@v4
865
+ if : ${{ env.SET_UP_INT_TEST_RUNTIME_NON_ORACLE_JDK == 'true'}}
866
+ with :
867
+ java-version : ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}
868
+ distribution : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}
869
+
870
+ - name : Login to Oracle container registry
871
+ uses : docker/login-action@v3
872
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
873
+ with :
874
+ registry : container-registry.oracle.com
875
+ username : ${{ secrets.OCR_USERNAME }}
876
+ password : ${{ secrets.OCR_TOKEN }}
877
+
878
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (oracle) to run the integration test
879
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
880
+ run : |
881
+ container_id=$(docker create "container-registry.oracle.com/java/jdk:${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}")
882
+ docker cp -L "$container_id:/usr/java/default" /usr/lib/jvm/oracle-jdk && docker rm "$container_id"
883
+
884
+ - name : Setup Gradle
885
+ uses : gradle/actions/setup-gradle@v4
886
+
887
+ - name : Execute Gradle 'integrationTestJdbc' task
888
+ run : ./gradlew integrationTestJdbc -Dscalardb.jdbc.url=jdbc:postgresql://localhost:5432/ -Dscalardb.jdbc.username=postgres -Dscalardb.jdbc.password=postgres ${{ matrix.mode.group_commit_enabled && env.INT_TEST_GRADLE_OPTIONS_FOR_GROUP_COMMIT || '' }}
889
+
890
+ - name : Upload Gradle test reports
891
+ if : always()
892
+ uses : actions/upload-artifact@v4
893
+ with :
894
+ name : postgresql_17_integration_test_reports_${{ matrix.mode.label }}
831
895
path : core/build/reports/tests/integrationTestJdbc
832
896
833
897
integration-test-for-jdbc-oracle-19 :
0 commit comments