From 3c412ddce9a35652cf8e8d06aef8ea70d5f8dc9a Mon Sep 17 00:00:00 2001 From: Savio Resende Date: Sat, 23 Dec 2023 08:44:38 -0600 Subject: [PATCH] Added mysql to actions. --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cdebc37..2cbaf79 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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