Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use uv instead of pip in CI testing #282

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/test_unit_and_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down