Skip to content

Commit

Permalink
fix: ✅ ignore errors in coverage xml generation
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd authored and nutfdt committed Oct 17, 2024
1 parent fcc3de5 commit 371c3c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Start stack using docker compose
run: IMAGE_TAG=${{ needs.build-backend.outputs.image_tag }} docker compose -f docker-compose.yml -f docker-compose.ci.yml up -d
- run: docker compose exec backend coverage run -m pytest
- run: docker compose exec backend coverage xml
- run: docker compose exec backend coverage xml --ignore-errors
- name: Produce the coverage report
uses: insightsengineering/coverage-action@v2
with:
Expand Down
8 changes: 1 addition & 7 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
[tool.ruff]
exclude = ["frontend"]

[tool.coverage.report]
omit = [
"/app/config-3.py",
"/app/config.py",
]
exclude = ["frontend"]

0 comments on commit 371c3c1

Please sign in to comment.