Skip to content

Commit 069d453

Browse files
committed
ci: Fix test strategy
1 parent 33d8afe commit 069d453

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,15 @@ jobs:
3131
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
3232
workspace: ['locked', 'latest']
3333
steps:
34-
- uses: actions/checkout@v3
35-
- uses: astral-sh/setup-uv@v2
34+
- uses: actions/checkout@v4
35+
- uses: jdx/mise-action@v2
3636
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v4
38-
id: 'setup-python'
39-
with:
40-
architecture: x64
41-
python-version: ${{ matrix.python-version }}
37+
run: 'echo ${{ matrix.python-version }} > .python-version'
4238
- name: 'Configure env as locked deps by uv.lock'
43-
run: |
44-
uv sync --frozen --all-extras --python='${{ steps.setup-python.outputs.python-path }}'
39+
run: 'uv sync --all-extras --frozen'
4540
if: ${{ matrix.workspace == 'locked'}}
4641
- name: 'Configure env as latest deps on PyPI'
47-
run: |
48-
uv sync -U --all-extras --python='${{ steps.setup-python.outputs.python-path }}'
42+
run: 'uv sync --all-extras -U'
4943
if: ${{ matrix.workspace == 'latest'}}
5044
- name: Run tests
5145
run: |

0 commit comments

Comments
 (0)