@@ -481,13 +481,13 @@ jobs:
481
481
name : mysql_8.0_integration_test_reports
482
482
path : core/build/reports/tests/integrationTestJdbc
483
483
484
- integration-test-for-jdbc-mysql-8-1 :
485
- name : MySQL 8.1 integration test
484
+ integration-test-for-jdbc-mysql-8-4 :
485
+ name : MySQL 8.4 integration test
486
486
runs-on : ubuntu-latest
487
487
488
488
services :
489
489
mysql :
490
- image : mysql:8.1
490
+ image : mysql:8.4
491
491
env :
492
492
MYSQL_ROOT_PASSWORD : mysql
493
493
ports :
@@ -533,16 +533,16 @@ jobs:
533
533
if : always()
534
534
uses : actions/upload-artifact@v4
535
535
with :
536
- name : mysql_8.1_integration_test_reports
536
+ name : mysql_8.4_integration_test_reports
537
537
path : core/build/reports/tests/integrationTestJdbc
538
538
539
- integration-test-for-jdbc-postgresql-12 :
540
- name : PostgreSQL 12 integration test
539
+ integration-test-for-jdbc-postgresql-13 :
540
+ name : PostgreSQL 13 integration test
541
541
runs-on : ubuntu-latest
542
542
543
543
services :
544
544
postgres :
545
- image : postgres:12 -alpine
545
+ image : postgres:13 -alpine
546
546
env :
547
547
POSTGRES_USER : postgres
548
548
POSTGRES_PASSWORD : postgres
@@ -589,16 +589,16 @@ jobs:
589
589
if : always()
590
590
uses : actions/upload-artifact@v4
591
591
with :
592
- name : postgresql_12_integration_test_reports
592
+ name : postgresql_13_integration_test_reports
593
593
path : core/build/reports/tests/integrationTestJdbc
594
594
595
- integration-test-for-jdbc-postgresql-13 :
596
- name : PostgreSQL 13 integration test
595
+ integration-test-for-jdbc-postgresql-14 :
596
+ name : PostgreSQL 14 integration test
597
597
runs-on : ubuntu-latest
598
598
599
599
services :
600
600
postgres :
601
- image : postgres:13 -alpine
601
+ image : postgres:14 -alpine
602
602
env :
603
603
POSTGRES_USER : postgres
604
604
POSTGRES_PASSWORD : postgres
@@ -645,16 +645,16 @@ jobs:
645
645
if : always()
646
646
uses : actions/upload-artifact@v4
647
647
with :
648
- name : postgresql_13_integration_test_reports
648
+ name : postgresql_14_integration_test_reports
649
649
path : core/build/reports/tests/integrationTestJdbc
650
650
651
- integration-test-for-jdbc-postgresql-14 :
652
- name : PostgreSQL 14 integration test
651
+ integration-test-for-jdbc-postgresql-15 :
652
+ name : PostgreSQL 15 integration test
653
653
runs-on : ubuntu-latest
654
654
655
655
services :
656
656
postgres :
657
- image : postgres:14 -alpine
657
+ image : postgres:15 -alpine
658
658
env :
659
659
POSTGRES_USER : postgres
660
660
POSTGRES_PASSWORD : postgres
@@ -701,16 +701,16 @@ jobs:
701
701
if : always()
702
702
uses : actions/upload-artifact@v4
703
703
with :
704
- name : postgresql_14_integration_test_reports
704
+ name : postgresql_15_integration_test_reports
705
705
path : core/build/reports/tests/integrationTestJdbc
706
706
707
- integration-test-for-jdbc-postgresql-15 :
708
- name : PostgreSQL 15 integration test
707
+ integration-test-for-jdbc-postgresql-16 :
708
+ name : PostgreSQL 16 integration test
709
709
runs-on : ubuntu-latest
710
710
711
711
services :
712
712
postgres :
713
- image : postgres:15 -alpine
713
+ image : postgres:16 -alpine
714
714
env :
715
715
POSTGRES_USER : postgres
716
716
POSTGRES_PASSWORD : postgres
@@ -757,7 +757,63 @@ jobs:
757
757
if : always()
758
758
uses : actions/upload-artifact@v4
759
759
with :
760
- name : postgresql_15_integration_test_reports
760
+ name : postgresql_16_integration_test_reports
761
+ path : core/build/reports/tests/integrationTestJdbc
762
+
763
+ integration-test-for-jdbc-postgresql-17 :
764
+ name : PostgreSQL 17 integration test
765
+ runs-on : ubuntu-latest
766
+
767
+ services :
768
+ postgres :
769
+ image : postgres:17-alpine
770
+ env :
771
+ POSTGRES_USER : postgres
772
+ POSTGRES_PASSWORD : postgres
773
+ ports :
774
+ - 5432:5432
775
+
776
+ steps :
777
+ - uses : actions/checkout@v4
778
+
779
+ - name : Set up JDK ${{ env.JAVA_VERSION }} (${{ env.JAVA_VENDOR }})
780
+ uses : actions/setup-java@v4
781
+ with :
782
+ java-version : ${{ env.JAVA_VERSION }}
783
+ distribution : ${{ env.JAVA_VENDOR }}
784
+
785
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}) to run integration test
786
+ uses : actions/setup-java@v4
787
+ if : ${{ env.SET_UP_INT_TEST_RUNTIME_NON_ORACLE_JDK == 'true'}}
788
+ with :
789
+ java-version : ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}
790
+ distribution : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR }}
791
+
792
+ - name : Login to Oracle container registry
793
+ uses : docker/login-action@v3
794
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
795
+ with :
796
+ registry : container-registry.oracle.com
797
+ username : ${{ secrets.OCR_USERNAME }}
798
+ password : ${{ secrets.OCR_TOKEN }}
799
+
800
+ - name : Set up JDK ${{ env.INT_TEST_JAVA_RUNTIME_VERSION }} (oracle) to run the integration test
801
+ if : ${{ env.INT_TEST_JAVA_RUNTIME_VENDOR == 'oracle' }}
802
+ run : |
803
+ container_id=$(docker create "container-registry.oracle.com/java/jdk:${{ env.INT_TEST_JAVA_RUNTIME_VERSION }}")
804
+ docker cp -L "$container_id:/usr/java/default" /usr/lib/jvm/oracle-jdk && docker rm "$container_id"
805
+
806
+ - name : Setup Gradle
807
+ uses : gradle/actions/setup-gradle@v4
808
+
809
+ - name : Execute Gradle 'integrationTestJdbc' task
810
+ run : ./gradlew integrationTestJdbc -Dscalardb.jdbc.url=jdbc:postgresql://localhost:5432/ -Dscalardb.jdbc.username=postgres -Dscalardb.jdbc.password=postgres
811
+
812
+ - name : Upload Gradle test reports
813
+ if : always()
814
+ uses : actions/upload-artifact@v4
815
+ with :
816
+ name : postgresql_17_integration_test_reports
761
817
path : core/build/reports/tests/integrationTestJdbc
762
818
763
819
integration-test-for-jdbc-oracle-19 :
0 commit comments