Skip to content

Commit 0d43747

Browse files
committed
fix: added mariadb service to gh actions
1 parent ab64e4a commit 0d43747

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ jobs:
4141

4242
runs-on: ubuntu-18.04
4343

44+
services:
45+
mariadb:
46+
image: mariadb:latest
47+
ports:
48+
- 3306
49+
env:
50+
MYSQL_DATABASE: matrix
51+
MYSQL_ROOT_PASSWORD: root
52+
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
53+
4454
steps:
4555
- name: Set up JDK 17
4656
uses: actions/setup-java@v1

0 commit comments

Comments
 (0)