File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 7474 - name : Run tests with postgres
7575 run : mvn test -pl core -am -Dspring.profiles.active=postgres
7676
77+ test-mariadb :
78+ runs-on : ubuntu-latest
79+ needs : build
80+ services :
81+ postgres :
82+ image : mariadb:latest
83+ env :
84+ MYSQL_USER : sa
85+ MYSQL_ROOT_PASSWORD : veryStrong123
86+ MYSQL_PASSWORD : veryStrong123
87+ ports :
88+ - 3306:3306
89+ steps :
90+ - uses : actions/checkout@v4
91+ - name : Set up JDK 21
92+ uses : actions/setup-java@v4
93+ with :
94+ java-version : ' 21'
95+ distribution : ' temurin'
96+ cache : maven
97+ - name : Run tests with mariadb
98+ run : mvn test -pl core -am -Dspring.profiles.active=maria
99+
77100 java-doc :
78101 runs-on : ubuntu-latest
79102 needs : [build]
@@ -105,7 +128,7 @@ jobs:
105128
106129 maven-deploy :
107130 runs-on : ubuntu-latest
108- needs : [build, test-mssql, test-postgres]
131+ needs : [build, test-mssql, test-postgres, test-mariadb ]
109132 if : ${{ github.ref == 'refs/heads/main' }}
110133 steps :
111134 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments