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

ci: Use uv for all pip installs #365

Merged
Merged
Show file tree
Hide file tree
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
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:

- name: Lint with Flake8
run: |
python -m pip install --upgrade flake8
python -m pip install --upgrade uv
uv pip install --system --upgrade flake8
flake8

test:
Expand All @@ -45,9 +46,10 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade '.[databinder,pandas,test]'
python -m pip list
python -m pip install --upgrade uv
uv pip install --system --upgrade pip setuptools wheel
uv pip install --system --upgrade '.[databinder,pandas,test]'
uv pip list --system

- name: Test with pytest
run: |
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:

- name: Install python-build and twine
run: |
python -m pip install --upgrade pip
python -m pip install build twine
python -m pip list
python -m pip install --upgrade uv
uv pip install --system --upgrade pip
uv pip install --system build twine
uv pip list --system

- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
Expand Down Expand Up @@ -82,9 +83,10 @@ jobs:

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade '.[docs]'
python -m pip list
python -m pip install --upgrade uv
uv pip install --system --upgrade pip setuptools wheel
uv pip install --system --upgrade '.[docs]'
uv pip list --system

- name: Build documentation
run: |
Expand Down
Loading