Skip to content

Commit c4eb9e2

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/mysql' into mysql
2 parents e680ec8 + 153e7c0 commit c4eb9e2

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,29 @@ jobs:
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

0 commit comments

Comments
 (0)