Skip to content

Instantly share code, notes, and snippets.

@Smally1997
Created August 27, 2019 18:52
Show Gist options
  • Save Smally1997/ee374e8eccc3c76a24271626d1ecfe21 to your computer and use it in GitHub Desktop.
Save Smally1997/ee374e8eccc3c76a24271626d1ecfe21 to your computer and use it in GitHub Desktop.
on: push
name: Run phpunit testsuite
jobs:
phpunit:
runs-on: ubuntu-latest
container:
image: jackmdavis97/php:7.3
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Install composer dependencies
run: |
composer install
- name: Prepare Laravel Application
run: |
cp .env.example .env
php artisan key:generate
- name: Run Testsuite
run: vendor/bin/phpunit tests/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment