Created
August 27, 2019 18:11
-
-
Save freekmurze/47d5643ed50c79f40a8685c8320183dc to your computer and use it in GitHub Desktop.
CI YML
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
on: push | |
name: Run phpunit testsuite | |
jobs: | |
phpunit: | |
runs-on: ubuntu-latest | |
container: | |
image: lorisleiva/laravel-docker:7.3 # Change this to 7.1/7.2/7.3 to specify the PHP Version | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- name: Install composer dependencies | |
uses: MilesChou/composer-action@master | |
with: | |
args: install --no-ansi --no-interaction --prefer-dist | |
- 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