We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a318a13 commit 2d586a9Copy full SHA for 2d586a9
.github/workflows/python-test.yaml
@@ -61,7 +61,12 @@ jobs:
61
run: black . --check --verbose
62
- name: Run Python tests
63
if: runner.os != 'Windows'
64
- run: pytest -s -vv --cov --cov-fail-under=89
+ run: pytest -s -vv --cov --cov-report=xml --cov-fail-under=90
65
+ - name: Check diff coverage
66
+ if: runner.os != 'Windows'
67
+ run: |
68
+ git fetch origin main:refs/remotes/origin/main
69
+ diff-cover coverage.xml --compare-branch=origin/main --fail-under=90
70
- name: Run E2E tests with Playwright
71
id: e2e
72
.gitignore
@@ -54,6 +54,7 @@ coverage.xml
54
.hypothesis/
55
.pytest_cache/
56
cover/
57
+coverage_report.html
58
59
# Translations
60
*.mo
0 commit comments