Skip to content

Commit

Permalink
fix: added pytest-cov to toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Jan 30, 2024
1 parent 32aca9c commit 997bb50
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
- name: Install dependencies
run: poetry install

- name: Install dev dependencies
run: poetry install


- name: Test with pytest
run: |
poetry run pytest --cov-report xml:coverage-report/coverage.xml --cov=nbiatoolkit tests/
Expand Down
84 changes: 83 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ pydicom = "^2.4.3"
tqdm = "^4.66.1"
pyfiglet = "^1.0"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
jupyter = "^1.0.0"
pytest-cov = ">=4.0.0"
myst-nb = {version = "^1.0.0", python = "^3.9"}
sphinx-autoapi = "^3.0.0"
sphinx-rtd-theme = "^1.3.0"
Expand Down

0 comments on commit 997bb50

Please sign in to comment.