Skip to content

Commit 6447b7f

Browse files
committed
bug:toxify
1 parent fa8b9be commit 6447b7f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ jobs:
4242
uses: codecov/[email protected]
4343
with:
4444
token: ${{ secrets.CODECOV_TOKEN }}
45+
files: ./coverage.xml
46+
fail_ci_if_error: true

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ requests = "^2.32.3"
1616

1717
[tool.poetry.group.dev.dependencies]
1818
pytest = "^7.4.0"
19+
pytest-cov = "^5.0.0"
1920
geojson = "^3.1.0"
2021
requests-mock = { extras = ["fixtures"], version = "^1.12.1" }
2122
deepdiff = "^7.0.1"
2223
tox = "^4.17.1"
2324

25+
2426
[build-system]
2527
requires = ["poetry-core>=1.0.0"]
2628
build-backend = "poetry.core.masonry.api"

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ allowlist_externals = poetry
77
commands_pre =
88
poetry install --no-root --sync
99
commands =
10-
poetry run pytest tests/ --import-mode importlib
10+
poetry run pytest --cov=overpass --cov-report=xml --cov-report=term-missing tests/ --import-mode importlib
1111

1212
[gh-actions]
1313
python =
1414
3.9: py39
1515
3.10: py310
16-
3.11: py311
16+
3.11: py311

0 commit comments

Comments
 (0)