From 7092f24f4a88e7afe919766b74a9861d45574797 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 1 Jun 2023 23:32:12 +0200 Subject: [PATCH] CI: try 4 parallel pytest-xdist workers --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e527732af..02dcc6ed9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"