Would you please just connect!

This commit is contained in:
Refringe 2024-06-18 14:56:18 -04:00
parent 11a7a91033
commit 7386778ff2
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k
2 changed files with 9 additions and 12 deletions

View File

@ -9,11 +9,11 @@ LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=emergency
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_HOST=mysql
DB_PORT=33306
DB_DATABASE=testing
DB_USERNAME=root
DB_PASSWORD=password
DB_PASSWORD=
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync

View File

@ -100,19 +100,14 @@ jobs:
laravel-tests:
runs-on: ubuntu-24.04
env:
DB_DATABASE: testing
DB_USERNAME: root
DB_PASSWORD: password
services:
mysql:
image: mysql:8.3
env:
MYSQL_ALLOW_EMPTY_PASSWORD: false
MYSQL_ROOT_PASSWORD: password
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: testing
ports:
- 3306/tcp
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout
@ -122,7 +117,6 @@ jobs:
with:
php-version: '8.3'
extensions: mbstring, dom, fileinfo
tools: pint
coverage: none
- name: Configure Laravel Nova Authentication
shell: bash
@ -161,7 +155,10 @@ jobs:
- name: Run Migrations
run: php artisan migrate -v
env:
DB_PORT: ${{ job.services.mysql.ports['3306'] }}
DB_CONNECTION: mysql
DB_DATABASE: testing
DB_PORT: 33306
DB_USER: root
- name: Link Storage
run: php artisan storage:link
- name: Serve Application