1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-03 13:45:31 +00:00

CI: try 4 parallel pytest-xdist workers

This commit is contained in:
Thomas Waldmann 2023-06-01 23:32:12 +02:00
parent cad57e70c3
commit 7092f24f4a
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -129,6 +129,7 @@ jobs:
# we already have that in the global env, but something is broken and overwrites that.
# so, set it here, again.
PKG_CONFIG_PATH: "/usr/local/opt/openssl@1.1/lib/pkgconfig:$PKG_CONFIG_PATH"
XDISTN: "4"
run: |
# do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
#sudo -E bash -c "tox -e py"
@ -177,4 +178,4 @@ jobs:
- name: Run tests
run: |
./dist/borg.exe -V
pytest --benchmark-skip -vv -rs -k "not remote"
pytest -n4 --benchmark-skip -vv -rs -k "not remote"