Skip to content

Commit

Permalink
Update pest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim-the-Diamond committed Oct 1, 2024
1 parent 460fa9b commit c97570e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/pest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
DB_DATABASE: testing
DB_USER: user
DB_PASSWORD: secret
DB_HOST: 127.0.0.1
APP_KEY: base64:1NxfrNErQ0vo1ZnPcLeVhnE7tOZdKlKiFORzPA92krM=
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2]
laravel: [10.*, 11.*]
laravel: [11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
Expand All @@ -40,10 +41,15 @@ jobs:
MYSQL_ROOT_PASSWORD: secretroot
ports:
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
options: --health-cmd="mysqladmin ping --silent" --health-interval=10s --health-timeout=5s --health-retries=3

steps:

- name: Start MySQL
run: |
sudo /etc/init.d/mysql start
mysql -e "CREATE DATABASE IF NOT EXISTS $DB_DATABASE;" -u$DB_USER -p$DB_PASSWORD --host 127.0.0.1
- name: Verfify MySQL connection
run: |
mysql --version
Expand Down

0 comments on commit c97570e

Please sign in to comment.