Skip to content

Merge commit 'a54f63a3c0e172fdab6f6051e674b4e194741db5' into dev #12

Merge commit 'a54f63a3c0e172fdab6f6051e674b4e194741db5' into dev

Merge commit 'a54f63a3c0e172fdab6f6051e674b4e194741db5' into dev #12

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 Code Sniffer
run: vendor/bin/phpcs
- name: Run Testsuite
run: vendor/bin/phpunit tests/