Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. name: Continuous Integration Laravel 6
  2. on: [push]
  3. jobs:
  4. laravel-tests:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Copy ENV Laravel Configuration for CI
  9. run: php -r "file_exists('.env') || copy('.env.ci', '.env');"
  10. - name: Install Dependencies (PHP vendors)
  11. run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
  12. - name: Generate key
  13. run: php artisan key:generate
  14. - name: Create DB and schemas
  15. run: |
  16. mkdir -p database
  17. touch database/database.sqlite
  18. php artisan migrate
  19. - name: Execute tests (Unit and Feature tests) via PHPUnit
  20. run: vendor/bin/phpunit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement