Skip to content

Commit

Permalink
Incrementa fluxo do teste com action de cobertura de teste
Browse files Browse the repository at this point in the history
  • Loading branch information
naaando committed Sep 28, 2023
1 parent ed26cac commit d02086b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,16 @@ jobs:
run: chmod -R 777 storage bootstrap/cache

- name: Tests
run: ./vendor/bin/pest --coverage --min=50
run: ./vendor/bin/pest --coverage --min=50 --coverage-cobertura=coverage.cobertura.xml
env:
DB_CONNECTION: pgsql
DB_HOST: localhost
DB_PORT: 5432
DB_DATABASE: "pets_api"
DB_USER: "root"
DB_PASSWORD: "root"

- name: Code Coverage Summary
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage.cobertura.xml

0 comments on commit d02086b

Please sign in to comment.