Skip to content

Do Lackey step last #25

Do Lackey step last

Do Lackey step last #25

Workflow file for this run

name: Run tests
on: [push]
jobs:
tests:
name: Run tests
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:
- name: Check out the repo
uses: actions/checkout@v2
- name: Install composer dependencies
run: |
composer install --no-scripts
- name: Prepare Laravel Application
run: |
cp .env.ci .env
php artisan key:generate
- name: Migrate tests
run: bin/migrate-tests.sh
- name: Run Testsuite
run: vendor/bin/phpunit tests/