Skip to content

Fix

Fix #15

Workflow file for this run

name: Test
on:
push:
branches:
- master
- dev
pull_request:
branches:
- dev
jobs:
phpunit:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.1
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: '**/vendor'
key: ${{ runner.os }}-modules-${{ hashFiles('**/composer.lock') }}
- name: Install composer dependencies
run: |
composer install --no-scripts
- name: Prepare Laravel Application
run: |
cp .env.ci .env
touch database/database.sqlite
php artisan key:generate
php artisan migrate
- name: Run Testsuite
run: vendor/bin/phpunit tests/