Skip to content

Commit

Permalink
💚 Generate coverage reports in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Oct 24, 2022
1 parent 9725182 commit 6b2c62c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Run tests
run: python -m coverage run -m pytest
run: python -m coverage run --branch --parallel-mode -m pytest

- name: Upload coverage data
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion fastapix/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fastapix.main import app
from fastapix.main import app # pragma: no cover

if __name__ == "__main__": # pragma: no cover
app()
2 changes: 1 addition & 1 deletion fastapix/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def main(
help="Show version and exit.",
),
) -> None:
...
... # pragma: no cover

0 comments on commit 6b2c62c

Please sign in to comment.