Skip to content

Commit

Permalink
ci(wrappers/python): debug path to mypy on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SKalt committed Sep 25, 2024
1 parent 2a5512a commit 858a696
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions wrappers/python/scripts/ci/github/debug_python_paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@ set -eu
cd wrappers/python
export VIRTUAL_ENV="$PWD/.venv"
export PATH="$VIRTUAL_ENV/bin:$PATH"
set -x
echo "$PATH" | tr ':' '\n'
# shellcheck disable=SC2016
echo '$PATH:'
echo "$PATH" | tr ':' '\n - '

command -v python
command -v python3
command -v poetry || echo "missing poetry"
if ! command -v mypy; then
if command -v mypy.exe; then
echo "missing mypy, but found mypy.exe"
else
echo "missing mypy{.exe}"
fi
fi
stat ./.venv/bin/python || stat ./.venv/bin/python.exe || echo "missing .venv/bin/python{.exe}"
python --version

0 comments on commit 858a696

Please sign in to comment.