Skip to content

Commit 03fe3dd

Browse files
committed
Tried to add testing
1 parent 8b8ebfb commit 03fe3dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/maven-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
MYSQL_RANDOM_ROOT_PASSWORD: yes
1515
ports:
1616
- 3306
17+
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
1718
steps:
1819
- uses: actions/checkout@v2
1920
- name: Set up JDK 1.8
@@ -23,6 +24,7 @@ jobs:
2324
- name: Build
2425
run: mvn -B package --file pom.xml
2526
env:
27+
MYSQL_HOST: mysql
2628
MYSQL_USER: test
2729
MYSQL_PASSWORD: test
2830
- name: Deploy to JavaWebStack Repository

0 commit comments

Comments
 (0)