@@ -473,14 +473,14 @@ jobs:
473
473
name : mysql_8.0_integration_test_reports
474
474
path : core/build/reports/tests/integrationTestJdbc
475
475
476
- integration-test-for-jdbc-mysql-8-1 :
477
- name : MySQL 8.1 integration test
476
+ integration-test-for-jdbc-mysql-8-4 :
477
+ name : MySQL 8.4 integration test
478
478
runs-on : ubuntu-latest
479
479
480
480
steps :
481
- - name : Run MySQL 8.1
481
+ - name : Run MySQL 8.4
482
482
run : |
483
- docker run -e MYSQL_ROOT_PASSWORD=mysql -p 3306:3306 -d mysql:8.1 --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
483
+ docker run -e MYSQL_ROOT_PASSWORD=mysql -p 3306:3306 -d mysql:8.4 --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
484
484
485
485
- uses : actions/checkout@v4
486
486
@@ -521,16 +521,16 @@ jobs:
521
521
if : always()
522
522
uses : actions/upload-artifact@v4
523
523
with :
524
- name : mysql_8.1_integration_test_reports
524
+ name : mysql_8.4_integration_test_reports
525
525
path : core/build/reports/tests/integrationTestJdbc
526
526
527
- integration-test-for-jdbc-postgresql-12 :
528
- name : PostgreSQL 12 integration test
527
+ integration-test-for-jdbc-postgresql-13 :
528
+ name : PostgreSQL 13 integration test
529
529
runs-on : ubuntu-latest
530
530
531
531
services :
532
532
postgres :
533
- image : postgres:12 -alpine
533
+ image : postgres:13 -alpine
534
534
env :
535
535
POSTGRES_USER : postgres
536
536
POSTGRES_PASSWORD : postgres
@@ -577,16 +577,80 @@ jobs:
577
577
if : always()
578
578
uses : actions/upload-artifact@v4
579
579
with :
580
- name : postgresql_12_integration_test_reports
580
+ name : postgresql_13_integration_test_reports
581
581
path : core/build/reports/tests/integrationTestJdbc
582
582
583
- integration-test-for-jdbc-postgresql-13 :
584
- name : PostgreSQL 13 integration test
583
+ integration-test-for-jdbc-postgresql-14 :
584
+ name : PostgreSQL 14 integration test (${{ matrix.mode.label }})
585
585
runs-on : ubuntu-latest
586
586
587
587
services :
588
588
postgres :
589
- image : postgres:13-alpine
589
+ image : postgres:14-alpine
590
+ env :
591
+ POSTGRES_USER : postgres
592
+ POSTGRES_PASSWORD : postgres
593
+ ports :
594
+ - 5432:5432
595
+
596
+ strategy :
597
+ matrix :
598
+ mode :
599
+ - label : default
600
+ group_commit_enabled : false
601
+ - label : with_group_commit
602
+ group_commit_enabled : true
603
+
604
+ steps :
605
+ - uses : actions/checkout@v4
606
+
607
+ - name : Set up JDK ${{ env.JAVA_VERSION }} (${{ env.JAVA_VENDOR }})
608
+ uses : actions/setup-java@v4
609
+ with :
610
+ java-version : ${{ env.JAVA_VERSION }}
611
+ distribution : ${{ env.JAVA_VENDOR }}
612
+
613
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}) to run integration test
614
+ uses : actions/setup-java@v4
615
+ if : ${{ env.SET_UP_INT_TEST_RUNTIME_NON_ORACLE_JDK == 'true'}}
616
+ with :
617
+ java-version : ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}
618
+ distribution : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}
619
+
620
+ - name : Login to Oracle container registry
621
+ uses : docker/login-action@v3
622
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
623
+ with :
624
+ registry : container-registry.oracle.com
625
+ username : ${{ secrets.OCR_USERNAME }}
626
+ password : ${{ secrets.OCR_TOKEN }}
627
+
628
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (oracle) to run the integration test
629
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
630
+ run : |
631
+ container_id=$(docker create "container-registry.oracle.com/java/jdk:${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}")
632
+ docker cp -L "$container_id:/usr/java/default" /usr/lib/jvm/oracle-jdk && docker rm "$container_id"
633
+
634
+ - name : Setup Gradle
635
+ uses : gradle/actions/setup-gradle@v4
636
+
637
+ - name : Execute Gradle 'integrationTestJdbc' task
638
+ 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 || '' }}
639
+
640
+ - name : Upload Gradle test reports
641
+ if : always()
642
+ uses : actions/upload-artifact@v4
643
+ with :
644
+ name : postgresql_14_integration_test_reports_${{ matrix.mode.label }}
645
+ path : core/build/reports/tests/integrationTestJdbc
646
+
647
+ integration-test-for-jdbc-postgresql-15 :
648
+ name : PostgreSQL 15 integration test
649
+ runs-on : ubuntu-latest
650
+
651
+ services :
652
+ postgres :
653
+ image : postgres:15-alpine
590
654
env :
591
655
POSTGRES_USER : postgres
592
656
POSTGRES_PASSWORD : postgres
@@ -633,16 +697,16 @@ jobs:
633
697
if : always()
634
698
uses : actions/upload-artifact@v4
635
699
with :
636
- name : postgresql_13_integration_test_reports
700
+ name : postgresql_15_integration_test_reports
637
701
path : core/build/reports/tests/integrationTestJdbc
638
702
639
- integration-test-for-jdbc-postgresql-14 :
640
- name : PostgreSQL 14 integration test
703
+ integration-test-for-jdbc-postgresql-16 :
704
+ name : PostgreSQL 16 integration test
641
705
runs-on : ubuntu-latest
642
706
643
707
services :
644
708
postgres :
645
- image : postgres:14 -alpine
709
+ image : postgres:16 -alpine
646
710
env :
647
711
POSTGRES_USER : postgres
648
712
POSTGRES_PASSWORD : postgres
@@ -689,16 +753,16 @@ jobs:
689
753
if : always()
690
754
uses : actions/upload-artifact@v4
691
755
with :
692
- name : postgresql_14_integration_test_reports
756
+ name : postgresql_16_integration_test_reports
693
757
path : core/build/reports/tests/integrationTestJdbc
694
758
695
- integration-test-for-jdbc-postgresql-15 :
696
- name : PostgreSQL 15 integration test
759
+ integration-test-for-jdbc-postgresql-17 :
760
+ name : PostgreSQL 17 integration test
697
761
runs-on : ubuntu-latest
698
762
699
763
services :
700
764
postgres :
701
- image : postgres:15 -alpine
765
+ image : postgres:17 -alpine
702
766
env :
703
767
POSTGRES_USER : postgres
704
768
POSTGRES_PASSWORD : postgres
@@ -745,7 +809,7 @@ jobs:
745
809
if : always()
746
810
uses : actions/upload-artifact@v4
747
811
with :
748
- name : postgresql_15_integration_test_reports
812
+ name : postgresql_17_integration_test_reports
749
813
path : core/build/reports/tests/integrationTestJdbc
750
814
751
815
integration-test-for-jdbc-oracle-19 :
0 commit comments