Skip to content

let's make a conflict #29

let's make a conflict

let's make a conflict #29

Workflow file for this run

name: Tests
on: ['push', 'pull_request']
jobs:
tests:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: laravel
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2 #match with project
tools: composer:v2
coverage: xdebug
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Tests
run: ./vendor/bin/pest --ci --coverage --min=70 #min-100?
env:
DB_CONNECTION: mysql
DB_COLLATION: utf8mb4_unicode_ci
DB_DATABASE: laravel