Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
fix of test env for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilFreelancer committed Feb 8, 2020
1 parent ad7014e commit 0e489b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/laravel.yml
Expand Up @@ -18,6 +18,8 @@ jobs:
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
env:
APP_ENV: local
- name: Create Database
run: |
mkdir -p database
Expand All @@ -26,8 +28,10 @@ jobs:
env:
DB_CONNECTION: sqlite
DB_DATABASE: /home/runner/work/api-core/api-core/database/database.sqlite
APP_ENV: local
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
APP_ENV: local
run: vendor/bin/phpunit

0 comments on commit 0e489b2

Please sign in to comment.