diff --git a/.github/workflows/pytests.yml b/.github/workflows/pytests.yml index 3d459dce..41e6e7e6 100644 --- a/.github/workflows/pytests.yml +++ b/.github/workflows/pytests.yml @@ -89,6 +89,7 @@ jobs: - name: MACE run: | echo "search for torch version" + set +o pipefail python3 -m pip install torch== 2>&1 | cat torch_version=$( python3 -m pip install torch== 2>&1 | fgrep 'from versions' | sed -e 's/.* //' -e 's/)//' ) echo "found torch version $torch_version, installing cpu-only variant"