Skip to content

Commit

Permalink
Update coverage settings for src layout
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard authored and rlouf committed Aug 16, 2024
1 parent 61ddffb commit 002b771
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
pip install .[test]
- name: Run tests
run: |
pytest --cov=outlines_core
pytest --cov=src/outlines_core
- name: Upload coverage data
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ ignore_missing_imports = true

[tool.coverage.run]
omit = [
"outlines_core/_version.py",
"src/outlines_core/_version.py",
"tests/*",
]
branch = true
Expand Down

0 comments on commit 002b771

Please sign in to comment.