Skip to content

Commit

Permalink
fixup! fixup! TST: simplify CI with setup-uv@v5
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jan 1, 2025
1 parent 865c2a0 commit 9253254
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/bleeding-edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,24 @@ jobs:
with:
python-version: 3.13-dev
- uses: astral-sh/setup-uv@v5

- name: Configure uv
run: |
echo "UV_PYTHON_PREFERENCE=only-system" >> $GITHUB_ENV
echo "UV_PRERELEASE=allow" >> $GITHUB_ENV
echo "UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" >> $GITHUB_ENV
echo "UV_PYTHON=3.13" >> $GITHUB_ENV
- name: Install dependencies
run: |
uv pip install --upgrade setuptools wheel
uv pip install --pre --no-build numpy \
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
uv pip install --pre Cython
uv venv
uv pip install --no-build setuptools wheel numpy Cython
- name: Build
# --no-build-isolation is used to guarantee that build time dependencies
# are not installed by pip as specified from pyproject.toml, hence we get
# to use the dev version of numpy at build time.
run: |
uv pip install -e . --no-build-isolation
uv pip install --pre pytest
uv pip install pytest
- run: uv pip list

Expand Down

0 comments on commit 9253254

Please sign in to comment.