Skip to content

Commit

Permalink
Fix db connection in gh tests
Browse files Browse the repository at this point in the history
  • Loading branch information
esamattis committed Mar 18, 2020
1 parent b0c79d3 commit ccf0874
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ on: [push, pull_request]

jobs:
test:
services:
mariadb:
image: mariadb
ports:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: root
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down

0 comments on commit ccf0874

Please sign in to comment.