Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392259
tox.ini
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
933 B
Subscribers
None
tox.ini
View Options
[tox]
envlist
=
flake8,mypy,py3-{core,db,server}
[testenv:py3-core]
deps
=
-rrequirements-test.txt
.
commands
=
pytest --doctest-modules {envsitepackagesdir}/swh/core/tests {posargs}
[testenv:py3-db]
deps
=
-rrequirements-test.txt
.[db]
pifpaf
commands
=
pifpaf run postgresql -- \
pytest {envsitepackagesdir}/swh/core/db/tests {posargs}
[testenv:py3-server]
deps
=
-rrequirements-test.txt
.[http]
commands
=
pytest {envsitepackagesdir}/swh/core/api/tests {posargs}
[testenv:py3]
deps
=
.[testing]
pytest-cov
pifpaf
commands
=
pifpaf run postgresql -- \
pytest --doctest-modules \
--hypothesis-profile
=
slow
\
--cov={envsitepackagesdir}/swh/core --cov-branch
\
{envsitepackagesdir}/swh/core {posargs}
[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/plain
Expires
Jun 4 2025, 6:56 PM (11 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398873
Attached To
rDCORE Foundations and core functionalities
Event Timeline
Log In to Comment