Skip to content

Commit f1910db

Browse files
committed
ci(pytest): use uv to install pytest environment
1 parent 883ba0b commit f1910db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/pytest.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,16 @@ jobs:
4040
- name: Checkout
4141
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4242

43-
- name: Set up Python ${{ matrix.python-version }}
44-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
43+
# https://docs.astral.sh/uv/guides/integration/github/
44+
- name: Install uv and set the python version
45+
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
4546
with:
4647
python-version: ${{ matrix.python-version }}
48+
activate-environment: true
4749

4850
- name: Install dependencies
4951
run: |
50-
python -m pip install 'pip==25.0.1'
51-
pip install -e .[dev]
52+
uv pip install -e .[dev]
5253
5354
- name: Install apt packages
5455
run: |

0 commit comments

Comments
 (0)