Skip to content

Commit

Permalink
fix: use a venv
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Jan 23, 2025
1 parent db9f140 commit d0fa875
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,13 @@ jobs:
set -ex
python --version
pystr=$(python --version | cut -d' ' -f 2 | cut -d'.' -f 1)$(python --version | cut -d' ' -f 2 | cut -d'.' -f 2)
python -m pip install pip
mkdir test-venv
python3 -m venv test-venv
. test-venv
pip install numpy pytest
pip install ./wheelhouse/*cp${pystr}*musl*.whl
pytest --pyargs fitsio
deactivate
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit d0fa875

Please sign in to comment.