Created
August 27, 2019 17:45
-
-
Save aknosis/ffa2add16ffb6ae85ea9055c3e6c71a3 to your computer and use it in GitHub Desktop.
PHPUnit / Laravel GitHub Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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