Skip to content

Commit

Permalink
chore: modify library config
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Dec 28, 2023
1 parent 103f5d5 commit 7ba5ed5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ docs:
mkdocs serve --livereload -w quackosm

test:
pytest -n auto
pytest --durations=20 --doctest-modules --doctest-continue-on-failure srai
pytest --durations=20 tests

.PHONY: install docs test
17 changes: 16 additions & 1 deletion pdm.lock

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

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ test = [
"pytest-check",
"pytest-parametrization",
"pytest-xdist",
"pytest-doctestplus",
"pyogrio",
"srai>=0.6.2",
]
Expand Down Expand Up @@ -150,6 +151,7 @@ push = false
addopts = ["--import-mode=importlib"]
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]
log_cli = true
doctest_optionflags = ['ELLIPSIS', 'NORMALIZE_WHITESPACE', 'IGNORE_EXCEPTION_DETAIL']

[tool.licensecheck]
using = "requirements"
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ groups =
test
deps = coverage
commands =
coverage run --source=quackosm -m pytest -v --durations=20 tests
coverage run --data-file=.coverage.doctests --source=quackosm -m pytest -v --durations=20 --doctest-modules --doctest-continue-on-failure quackosm
coverage run --data-file=.coverage.tests --source=quackosm -m pytest -v --durations=20 tests
coverage combine
coverage xml -o coverage.{envname}.xml
coverage report -m
skip_install = true

0 comments on commit 7ba5ed5

Please sign in to comment.