aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Pirhonen <xxc3ncoredxx@gmail.com>2023-10-30 23:37:10 -0500
committerSam James <sam@gentoo.org>2023-11-11 02:55:29 +0000
commit7c5a1f57386511558e7c9b60e6debaea42a1135b (patch)
tree02a1f5fd293010da9ec726aa1fccddb3b29e2933 /.builds
parentsr.ht ci: install into --destdir (diff)
downloadportage-7c5a1f57386511558e7c9b60e6debaea42a1135b.tar.gz
portage-7c5a1f57386511558e7c9b60e6debaea42a1135b.tar.bz2
portage-7c5a1f57386511558e7c9b60e6debaea42a1135b.zip
sr.ht ci: add some pytest options
At the time of writing, sourcehut VM's have 2 cores. Utilizing pytest-xdist unsurprisingly cuts the time in half :) Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Closes: https://github.com/gentoo/portage/pull/1175 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '.builds')
-rw-r--r--.builds/ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.builds/ci.yml b/.builds/ci.yml
index cda3b6e07..6d04fdff9 100644
--- a/.builds/ci.yml
+++ b/.builds/ci.yml
@@ -16,6 +16,15 @@ environment:
# - '3.12'
# Testing PyPy is currently broken, see bug #903709
# - 'pypy3'
+ PYTEST_ADDOPTS: >
+ -vv
+ -ra
+ -l
+ -o console_output_style=count
+ -o log_cli=true
+ --log-cli-level=info
+ -n logical
+ --dist=worksteal
tasks:
- setup-python: |
portage/.builds/setup-python.sh "${PYTHON_VERSIONS[@]}"