Skip to content

Commit cc851c6

Browse files
committed
build: disable pytest cache on distcheck
We're running it in a potentially read only source dir, which would cause (harmless) pytest warnings. The contexts where we run it are throwaway ones anyway, so the cache can be disabled altogether.
1 parent ba10969 commit cc851c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
--env CI=true
8484
--env DIST=${{matrix.dist}}
8585
--env BSD=${{matrix.bsd}}
86-
--env PYTESTFLAGS=--verbose
86+
--env PYTESTFLAGS="--verbose -p no:cacheprovider"
8787
--env NETWORK=$NETWORK
8888
${NETWORK:+--network $NETWORK}
8989
$(test $DIST = fedoradev && echo --security-opt seccomp=unconfined)

test/docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ autoreconf -i
1818
make -j
1919

2020
xvfb-run make distcheck \
21-
PYTESTFLAGS="${PYTESTFLAGS---verbose --numprocesses=auto --dist=loadfile}"
21+
PYTESTFLAGS="${PYTESTFLAGS---verbose -p no:cacheprovider --numprocesses=auto --dist=loadfile}"
2222
cp -p bash-completion-*.tar.* "$oldpwd/"

0 commit comments

Comments
 (0)