Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8390814
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/tox.ini b/tox.ini
index fb2abeaf..1923226d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,44 +1,50 @@
[tox]
envlist=flake8,mypy,py3-no-origin-ids,py3
[testenv:py3]
deps =
.[testing]
.[listener]
pytest-cov
pifpaf
commands =
- pifpaf run postgresql -- pytest --hypothesis-profile=fast --cov=swh --cov-branch {posargs}
+ pifpaf run postgresql -- pytest --hypothesis-profile=fast \
+ --cov={envsitepackagesdir}/swh/storage \
+ {envsitepackagesdir}/swh/storage \
+ --cov-branch {posargs}
[testenv:py3-slow]
deps =
.[testing]
.[listener]
pytest-cov
pifpaf
commands =
- pifpaf run postgresql -- pytest --hypothesis-profile=slow --cov=swh --cov-branch {posargs}
+ pifpaf run postgresql -- pytest --hypothesis-profile=slow \
+ --cov={envsitepackagesdir}/swh/storage \
+ {envsitepackagesdir}/swh/storage \
+ --cov-branch {posargs}
[testenv:py3-no-origin-ids]
deps =
.[testing]
pytest-cov
setenv =
SWH_STORAGE_IN_MEMORY_ENABLE_ORIGIN_IDS=false
commands =
- pytest --hypothesis-profile=fast {posargs} swh/storage/tests/test_in_memory.py
+ pytest --hypothesis-profile=fast {posargs} {envsitepackagesdir}/swh/storage/tests/test_in_memory.py
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8
[testenv:mypy]
skip_install = true
deps =
.[testing]
mypy
commands =
mypy swh
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Jun 4 2025, 6:35 PM (14 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3261742
Attached To
rDSTO Storage manager
Event Timeline
Log In to Comment