Skip to content
Snippets Groups Projects
Commit 06ddac4a authored by Mathis Kelm's avatar Mathis Kelm
Browse files

[ci] don't test python bindings if deactivated

parent bcf2a6da
No related branches found
No related tags found
1 merge request!3403Fix CI python tests with dune 2.9
......@@ -213,7 +213,7 @@ test python:
mv build-cmake/dune-env /dune/modules/dune-common/build-cmake/dune-env
fi
- |
if ([ ! -s changedfiles.txt ] || grep -q python "changedfiles.txt"); then
if ( [ -d "build-cmake/python" ] && ([ ! -s changedfiles.txt ] || grep -q python "changedfiles.txt")); then
if [ ! -s changedfiles.txt ]; then
echo "Skipping test selection: considering all Python tests."
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment