Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9339740
D2571.id9176.diff
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
D2571.id9176.diff
View Options
diff --git a/jobs/swh-packages.yaml b/jobs/swh-packages.yaml
--- a/jobs/swh-packages.yaml
+++ b/jobs/swh-packages.yaml
@@ -136,6 +136,8 @@
pkg: storage
jobs:
- 'swh-jobs-{name}'
+ - '{name}/tox':
+ pytest_params: -m cassandra -n 3
- project:
name: DVAU
diff --git a/jobs/templates/swh-tox.yaml b/jobs/templates/swh-tox.yaml
--- a/jobs/templates/swh-tox.yaml
+++ b/jobs/templates/swh-tox.yaml
@@ -14,6 +14,10 @@
- string:
name: DIFF_ID
description: ID of the Diff patch to apply, if any
+ - string:
+ name: pytest_params
+ description: extra parameters to pass to pytest
+ default: ""
scm:
- git:
url: https://forge.softwareheritage.org/source/{display-name}.git
@@ -38,7 +42,7 @@
else
python3 -m tox -e flake8
fi
- - shell: python3 -m tox --result-json tox-results.json
+ - shell: python3 -m tox --result-json tox-results.json -- $pytest_params
publishers:
- phabricator:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 9:52 AM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228994
Attached To
D2571: Add tox job for swh-storage, which runs tests marked 'cassandra'.
Event Timeline
Log In to Comment