Skip to content

CI

CI #1072

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
testbench: ['^8.0']
name: Testbench ${{ matrix.testbench }}
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: php /usr/bin/composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Install Testbench
run: php /usr/bin/composer require -q --dev -W --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist orchestra/testbench:${{ matrix.testbench }}
- name: Execute tests via PHPUnit
run: php vendor/bin/phpunit --stop-on-failure