Skip to content

Commit 8d4a1ca

Browse files
authored
added mysql to pipeline
1 parent c4eb9e2 commit 8d4a1ca

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,29 @@ jobs:
9797
- name: Run tests with mariadb
9898
run: mvn test -pl core -am -Dspring.profiles.active=maria
9999

100+
test-mysql:
101+
runs-on: ubuntu-latest
102+
needs: build
103+
services:
104+
postgres:
105+
image: mysql:latest
106+
env:
107+
MYSQL_USER: sa
108+
MYSQL_ROOT_PASSWORD: veryStrong123
109+
MYSQL_PASSWORD: veryStrong123
110+
ports:
111+
- 3306:3306
112+
steps:
113+
- uses: actions/checkout@v4
114+
- name: Set up JDK 21
115+
uses: actions/setup-java@v4
116+
with:
117+
java-version: '21'
118+
distribution: 'temurin'
119+
cache: maven
120+
- name: Run tests with mysql
121+
run: mvn test -pl core -am -Dspring.profiles.active=mysql
122+
100123
java-doc:
101124
runs-on: ubuntu-latest
102125
needs: [build]

0 commit comments

Comments
 (0)