Skip to content

Commit

Permalink
tweaking pytest workflows somebody please help me!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
cudmore committed Dec 30, 2024
1 parent ad03a04 commit 651892f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# pytest ./src/pymapmanager -s --cov=./src/pymapmanager --cov-report=xml src/pymapmanager
# pytest ./src/pymapmanager -s --cov=./src/pymapmanager --cov-report=xml src/pymapmanager
#coverage run -m pytest -s src/pymapmanager/tests
pytest ./src/pymapmanager/tests -s --cov=./src/pymapmanager/tests --cov-report=xml src/pymapmanager/tests
pytest src/pymapmanager/tests -s --cov=src/pymapmanager/tests --cov-report=xml src/pymapmanager/tests
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ docs = [
'mkdocstrings-python', # resolve error as of April 30, 2023
]

[tool.pytest.ini_options]
pythonpath = [
"src"
]

[tool.ruff]
ignore = [
"E501", # Supress line-too-long warnings: trust black's judgement on this one.
Expand Down
2 changes: 1 addition & 1 deletion src/pymapmanager.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pymapmanager
Version: 0.0.7.dev325+gfe7f229.d20241230
Version: 0.0.7.dev327+gad03a04.d20241230
Requires-Python: >=3.11
License-File: LICENSE
Requires-Dist: mapmanagercore
Expand Down
1 change: 0 additions & 1 deletion src/pymapmanager.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ LICENSE
pyproject.toml
readme-dev.md
readme.md
tox.ini
.github/workflows/publish_to_pypi.yml
.github/workflows/test.yml
docs/mkdocs.yml
Expand Down
4 changes: 2 additions & 2 deletions src/pymapmanager/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = '0.0.7.dev325+gfe7f229.d20241230'
__version_tuple__ = version_tuple = (0, 0, 7, 'dev325', 'gfe7f229.d20241230')
__version__ = version = '0.0.7.dev327+gad03a04.d20241230'
__version_tuple__ = version_tuple = (0, 0, 7, 'dev327', 'gad03a04.d20241230')
35 changes: 0 additions & 35 deletions tox.ini

This file was deleted.

0 comments on commit 651892f

Please sign in to comment.