Skip to content

Sync DAMP with Dev branch #4

Sync DAMP with Dev branch

Sync DAMP with Dev branch #4

Workflow file for this run

name: tests
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
with:
php-version: '8.0'
- uses: actions/checkout@v2
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Generate key
run: php laravel/artisan key:generate
- name: Directory dermissions
run: chmod -R 777 laravel/storage laravel/bootstrap/cache
- name: Execute tests (Unit and Feature tests) via PHPUnit
run: php vendor/bin/phpunit