Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066164
D2327.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
971 B
Subscribers
None
D2327.diff
View Options
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,29 +1,20 @@
[tox]
envlist=flake8,mypy,py3-{core,db,server}
-[testenv:py3-core]
+[testenv]
deps =
-rrequirements-test.txt
- -rrequirements-logging.txt
- .
+ core: -rrequirements-logging.txt
+ db: .[db]
+ db: pifpaf
+ server: .[http]
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}
+ db: pifpaf run postgresql -- \
+ pytest --doctest-modules \
+ core: {envsitepackagesdir}/swh/core/tests \
+ db: {envsitepackagesdir}/swh/core/db/tests \
+ server: {envsitepackagesdir}/swh/core/api/tests \
+ {posargs}
[testenv:py3]
deps =
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 4 2024, 8:27 PM (11 w, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220434
Attached To
D2327: tox.ini: merge py3-{core,server,db} test environments
Event Timeline
Log In to Comment