Skip to content

Commit

Permalink
fix: Fix coverage report generation and badge creation for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Mar 27, 2024
1 parent d50ea3d commit 11e4558
Show file tree
Hide file tree
Showing 5 changed files with 293 additions and 215 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Generate Frontend Coverage Report (XML) and Badge
run: |
sudo docker-compose --env-file .env-github-actions run client yarn test:ci
sudo docker-compose --env-file .env-github-actions run client yarn coverage-badges -s public/coverage/coverage-final.json -o public/coverage/coverage-frontend-badge-new.svg --label 'Frontend Code Coverage'
sudo docker-compose --env-file .env-github-actions run client yarn coverage-badges -s public/coverage/coverage-summary.json -o public/coverage/coverage-frontend-badge-new.svg --label 'Frontend Code Coverage'
- name: Push Frontend Coverage Badge to separate branch
continue-on-error: true
run: |
Expand Down
Loading

0 comments on commit 11e4558

Please sign in to comment.