Skip to content

Commit be4d20c

Browse files
Use setup-uv action
Signed-off-by: Johannes Mueller <[email protected]>
1 parent fbf0d46 commit be4d20c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Diff for: .github/workflows/pytest.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- master
88
- develop
99
- ci-debug
10+
- ci-uv
1011
schedule:
1112
- cron: "0 9 * * 0"
1213

@@ -26,16 +27,16 @@ jobs:
2627
only-minimal: true
2728
steps:
2829
- uses: actions/checkout@v4
29-
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v5
30+
31+
- name: Install uv
32+
uses: astral-sh/setup-uv@v5
3133
with:
3234
python-version: ${{ matrix.python-version }}
35+
- name: Set up Python
36+
run: uv python install
3337
- name: Install python essentials
3438
run: |
3539
sudo apt-get install clang
36-
python -m pip install --upgrade pip uv
37-
uv venv --python ${{ matrix.python-version }}
38-
source ./.venv/bin/activate
3940
uv pip install -U setuptools setuptools_scm wheel
4041
- name: Install dependencies complete
4142
if: matrix.only-minimal != true

0 commit comments

Comments
 (0)