Skip to content

Commit

Permalink
feature pipeline: validando conteúdo do env no laravel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RamonSouzaDev authored Nov 16, 2023
1 parent 5eaa207 commit 737304c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ jobs:
mkdir -p backend-api/database
touch backend-api/database/database.sqlite
- name: Debug .env in Testing
run: cat backend-api/.env

- name: Debug .env.testing in Testing
run: cat backend-api/.env.testing

- name: Run Migrations
run: php backend-api/artisan migrate --env=testing

- name: Seed Database in Testing Environment
run: php backend-api/artisan db:seed --env=testing

- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
Expand Down

0 comments on commit 737304c

Please sign in to comment.