Skip to content

Commit

Permalink
Added mysql to actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Dec 23, 2023
1 parent b2067bb commit 3c412dd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ jobs:

tests:
runs-on: ubuntu-latest

services:
mysql:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: laravel
ports:
- 33061:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 3c412dd

Please sign in to comment.