Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlopezinc committed Nov 2, 2023
1 parent dc1005a commit 2029484
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,24 @@ jobs:
with:
php-version: '8.1'
- uses: actions/checkout@v3

- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"

- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Generate key
run: php artisan key:generate

- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache

- name: Run Migrations
run: php artisan migrate

- name: Seed Database
run: php artisan db:seed

- name: Execute tests (Unit and Feature tests) via PHPUnit
run: php artisan test

0 comments on commit 2029484

Please sign in to comment.