Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen committed Dec 6, 2024
1 parent 503ec6c commit 8bf5913
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ jobs:

- name: Install dependencies
run: |
echo "python${PYTHON_VERSION} -m venv env" | bash
# First, find where python3.12 is installed
which python3.12 || echo "python3.12 not in PATH"
# Add common Python installation locations to PATH
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
# Now try to create the venv with explicit python3.12
python3.12 -m venv env || {
echo "Failed to find python3.12. Checking installation locations:"
ls -l /usr/local/bin/python* /opt/homebrew/bin/python* 2>/dev/null || true
exit 1
}
source env/bin/activate
pip install --upgrade pip
pip install .
Expand Down

0 comments on commit 8bf5913

Please sign in to comment.