From d0fa875fde8e297bd10bb1935d24bde2f20f0d5f Mon Sep 17 00:00:00 2001 From: beckermr Date: Thu, 23 Jan 2025 07:06:25 -0600 Subject: [PATCH] fix: use a venv --- .github/workflows/wheel.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index 2624ce5..c5186ec 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -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: