Skip to content

Commit 3c2f559

Browse files
ci: use uv github action
1 parent c1ba74e commit 3c2f559

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/pytest.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ jobs:
66
steps:
77
- name: Checkout code
88
uses: actions/checkout@v4
9-
- name: Set up Python
10-
uses: actions/setup-python@v5
11-
with:
12-
python-version: '3.x'
13-
- name: Install dependencies
14-
run: python -m pip install pytest .
9+
- name: Set up uv
10+
uses: astral-sh/setup-uv@v5
11+
- name: Install the project
12+
run: uv sync
1513
- name: Run tests
16-
run: pytest
14+
run: uv run pytest tests

0 commit comments

Comments
 (0)