Skip to content

Instantly share code, notes, and snippets.

@aknosis
Created August 27, 2019 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aknosis/ffa2add16ffb6ae85ea9055c3e6c71a3 to your computer and use it in GitHub Desktop.
Save aknosis/ffa2add16ffb6ae85ea9055c3e6c71a3 to your computer and use it in GitHub Desktop.
PHPUnit / Laravel GitHub Action
name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: docker://php:latest
- run: |
curl -sS https://getcomposer.org/installer | php
php composer.phar install
cp .env.example .env
php artisan key:generate
php vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment