Skip to content

Merge pull request #305 from jsdecena/snyk-fix-1e273ef8ceb879e950a265… #51

Merge pull request #305 from jsdecena/snyk-fix-1e273ef8ceb879e950a265…

Merge pull request #305 from jsdecena/snyk-fix-1e273ef8ceb879e950a265… #51

Workflow file for this run

name: Master
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
working-directory: ./project
jobs:
master:
runs-on: ubuntu-18.04
container:
image: jsdecena/php8-fpm:8.0.13
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader --ignore-platform-reqs
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.testing', '.env');"
- name: Execute tests
env:
DB_CONNECTION: sqlite
DB_DATABASE: ":memory:"
run: vendor/bin/phpunit --coverage-text