Skip to content

Merge branch 'main' of github.com:YARC-Official/yarg-api into feat/so… #6

Merge branch 'main' of github.com:YARC-Official/yarg-api into feat/so…

Merge branch 'main' of github.com:YARC-Official/yarg-api into feat/so… #6

Workflow file for this run

on: push
name: Laravel Test Suite w/ PHPUnit
jobs:
Testing:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.2
services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
ports:
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Install composer dependencies
run: |
composer install --no-scripts
- name: Prepare Laravel Application
run: |
cp .env.ci .env
php artisan key:generate
- name: Run Test Suites
run: php artisan test