diff --git a/.github/workflows/test_unit_and_examples.yml b/.github/workflows/test_unit_and_examples.yml index dd65d64b..6f5bce1b 100644 --- a/.github/workflows/test_unit_and_examples.yml +++ b/.github/workflows/test_unit_and_examples.yml @@ -64,17 +64,17 @@ jobs: - name: Install Python dependencies run: | - pip install --upgrade pip + pip install --upgrade pip uv - pip install numpy --config-settings=setup-args="-Dallow-noblas=true" - pip install pytest meson-python ninja cython spin==0.9 + uv pip install --system numpy --config-settings=setup-args="-Dallow-noblas=true" + uv pip install --system pytest meson-python ninja cython spin==0.9 python3 -m spin install-dependencies -test-dep - name: Install S4 (macOS - arm) if: matrix.os == 'macos-latest' run: | - pip install wheel setuptools + uv pip install --system wheel setuptools git clone https://github.com/phoebe-p/S4 cd S4 git checkout rename_interpolator @@ -85,7 +85,7 @@ jobs: - name: Install S4 (ubuntu) if: matrix.os == 'ubuntu-latest' run: | - pip install wheel setuptools + uv pip install --system wheel setuptools git clone https://github.com/phoebe-p/S4 cd S4 make S4_pyext @@ -113,7 +113,7 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} run: | - python -m pip install codecov + python -m uv pip install --system codecov python -m spin codecov @@ -154,17 +154,17 @@ jobs: - name: Install Python dependecies run: | - pip install --upgrade pip + pip install --upgrade pip uv - pip install numpy --config-settings=setup-args="-Dallow-noblas=true" - pip install pytest meson-python ninja cython spin + uv pip install --system numpy --config-settings=setup-args="-Dallow-noblas=true" + uv pip install --system pytest meson-python ninja cython spin python3 -m spin install-dependencies -test-dep - name: Install S4 (macOS - arm) if: matrix.os == 'macos-latest' run: | - pip install wheel setuptools + uv pip install --system wheel setuptools git clone https://github.com/phoebe-p/S4 cd S4 make S4_pyext --file="Makefile.m1" @@ -174,7 +174,7 @@ jobs: - name: Install S4 (ubuntu) if: matrix.os == 'ubuntu-latest' run: | - pip install wheel setuptools + uv pip install --system wheel setuptools git clone https://github.com/phoebe-p/S4 cd S4 make S4_pyext