Skip to content

Commit 246965c

Browse files
Set up Python version with GitHub action.
1 parent b85b07e commit 246965c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ jobs:
1313

1414
- name: Setup uv and handle its cache
1515
uses: hynek/setup-cached-uv@49a39f911c85c6ec0c9aadd5a426ae2761afaba2 # v2.0.0
16+
17+
- name: "Set up Python"
18+
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
19+
with:
20+
python-version: ${{ matrix.python-version }}
1621

1722
- name: Setup dependencies
1823
run: |
19-
uv pip install --user --break-system-packages -r ./.requirements/${{ matrix.python-version }}-${{ runner.os }}.txt
20-
uv pip install --user --break-system-packages pytest pytest-md pytest-emoji
24+
uv pip install --system --break-system-packages -r ./.requirements/${{ matrix.python-version }}-${{ runner.os }}.txt
25+
uv pip install --system --break-system-packages pytest pytest-md pytest-emoji
2126
2227
- name: Run pytest
2328
uses: pavelzw/pytest-action@510c5e90c360a185039bea56ce8b3e7e51a16507 # v2.2.0

0 commit comments

Comments
 (0)