We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eeca8c commit 5e27336Copy full SHA for 5e27336
tools/test.sh
@@ -31,8 +31,14 @@ if [ -f $CGROUP/cgroup.controllers -a -e $CGROUP/cgroup.type ]; then
31
> $CGROUP/cgroup.subtree_control
32
fi
33
34
-say "Copy CI artifacts to /srv, so hardlinks work"
35
-cp -ruvfL $(cat build/current_artifacts) /srv/current_artifacts
+if [ -f build/current_artifacts ]; then
+ say "Copy CI artifacts to /srv, so hardlinks work"
36
+ cp -ruvfL $(cat build/current_artifacts) /srv/current_artifacts
37
+else
38
+ # The directory must exist for pytest to function
39
+ mkdir -p /srv/current_artifacts
40
+ say "Skipping setting up CI artifacts"
41
+fi
42
43
cd tests
44
export PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} --pdbcls=IPython.terminal.debugger:TerminalPdb"
0 commit comments