Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable coverage of the multiprocess code #125

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Run tests and generate coverage
run: |
coverage run -m unittest discover tests/
coverage combine
coverage xml
echo ${{ github.event.number }} > coverage.PR
- name: upload coverage report
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ build/

# skip vim swap files
*.swp

# skip coverage files
.coverage*
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ Issues = "https://github.com/SBC-Utrecht/pytom-template-matching-gpu/issues"
packages = ["pytom_tm", "pytom_tm.angle_lists"]
package-dir = {"" = "src"}
package-data = {"pytom_tm.angle_lists" = ["*.txt"]}

[tool.coverage.run]
concurrency = ["multiprocessing", "thread"]