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