@@ -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,72 @@ 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
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
+ steps :
597
+ - uses : actions/checkout@v4
598
+
599
+ - name : Set up JDK ${{ env.JAVA_VERSION }} (${{ env.JAVA_VENDOR }})
600
+ uses : actions/setup-java@v4
601
+ with :
602
+ java-version : ${{ env.JAVA_VERSION }}
603
+ distribution : ${{ env.JAVA_VENDOR }}
604
+
605
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}) to run integration test
606
+ uses : actions/setup-java@v4
607
+ if : ${{ env.SET_UP_INT_TEST_RUNTIME_NON_ORACLE_JDK == 'true'}}
608
+ with :
609
+ java-version : ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}
610
+ distribution : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}
611
+
612
+ - name : Login to Oracle container registry
613
+ uses : docker/login-action@v3
614
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
615
+ with :
616
+ registry : container-registry.oracle.com
617
+ username : ${{ secrets.OCR_USERNAME }}
618
+ password : ${{ secrets.OCR_TOKEN }}
619
+
620
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (oracle) to run the integration test
621
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
622
+ run : |
623
+ container_id=$(docker create "container-registry.oracle.com/java/jdk:${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}")
624
+ docker cp -L "$container_id:/usr/java/default" /usr/lib/jvm/oracle-jdk && docker rm "$container_id"
625
+
626
+ - name : Setup Gradle
627
+ uses : gradle/actions/setup-gradle@v4
628
+
629
+ - name : Execute Gradle 'integrationTestJdbc' task
630
+ run : ./gradlew integrationTestJdbc -Dscalardb.jdbc.url=jdbc:postgresql://localhost:5432/ -Dscalardb.jdbc.username=postgres -Dscalardb.jdbc.password=postgres
631
+
632
+ - name : Upload Gradle test reports
633
+ if : always()
634
+ uses : actions/upload-artifact@v4
635
+ with :
636
+ name : postgresql_14_integration_test_reports_${{ matrix.mode.label }}
637
+ path : core/build/reports/tests/integrationTestJdbc
638
+
639
+ integration-test-for-jdbc-postgresql-15 :
640
+ name : PostgreSQL 15 integration test
641
+ runs-on : ubuntu-latest
642
+
643
+ services :
644
+ postgres :
645
+ image : postgres:15-alpine
590
646
env :
591
647
POSTGRES_USER : postgres
592
648
POSTGRES_PASSWORD : postgres
@@ -633,16 +689,16 @@ jobs:
633
689
if : always()
634
690
uses : actions/upload-artifact@v4
635
691
with :
636
- name : postgresql_13_integration_test_reports
692
+ name : postgresql_15_integration_test_reports
637
693
path : core/build/reports/tests/integrationTestJdbc
638
694
639
- integration-test-for-jdbc-postgresql-14 :
640
- name : PostgreSQL 14 integration test
695
+ integration-test-for-jdbc-postgresql-16 :
696
+ name : PostgreSQL 16 integration test
641
697
runs-on : ubuntu-latest
642
698
643
699
services :
644
700
postgres :
645
- image : postgres:14 -alpine
701
+ image : postgres:16 -alpine
646
702
env :
647
703
POSTGRES_USER : postgres
648
704
POSTGRES_PASSWORD : postgres
@@ -689,16 +745,16 @@ jobs:
689
745
if : always()
690
746
uses : actions/upload-artifact@v4
691
747
with :
692
- name : postgresql_14_integration_test_reports
748
+ name : postgresql_16_integration_test_reports
693
749
path : core/build/reports/tests/integrationTestJdbc
694
750
695
- integration-test-for-jdbc-postgresql-15 :
696
- name : PostgreSQL 15 integration test
751
+ integration-test-for-jdbc-postgresql-17 :
752
+ name : PostgreSQL 17 integration test
697
753
runs-on : ubuntu-latest
698
754
699
755
services :
700
756
postgres :
701
- image : postgres:15 -alpine
757
+ image : postgres:17 -alpine
702
758
env :
703
759
POSTGRES_USER : postgres
704
760
POSTGRES_PASSWORD : postgres
@@ -745,7 +801,7 @@ jobs:
745
801
if : always()
746
802
uses : actions/upload-artifact@v4
747
803
with :
748
- name : postgresql_15_integration_test_reports
804
+ name : postgresql_17_integration_test_reports
749
805
path : core/build/reports/tests/integrationTestJdbc
750
806
751
807
integration-test-for-jdbc-oracle-19 :
0 commit comments