File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed
Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 11name : Run Tests
22on : [push, pull_request]
33env :
4+ UV_PYTHON_DOWNLOADS : never
45 PYTEST_ADDOPTS : " --color=yes"
56jobs :
67 tests :
@@ -41,34 +42,26 @@ jobs:
4142 shell : bash
4243 run : |
4344 jackd --no-realtime -d dummy &
44- - name : Set up Python
45- uses : actions/setup-python@v5
46- with :
47- python-version : " 3"
48- - name : Double-check Python version
49- run : |
50- python --version
45+
5146 - uses : actions/checkout@v5
47+ - name : Install uv
48+ uses : astral-sh/setup-uv@v6
5249 - name : Install Python package
5350 run : |
54- python -m pip install --group test .
51+ uv sync --locked
5552 - name : Run tests
5653 run : |
57- python -m pytest
54+ uv run pytest
5855
5956 docs :
6057 runs-on : ubuntu-latest
6158 steps :
62- - name : Set up Python
63- uses : actions/setup-python@v5
59+ - uses : actions/checkout@v5
6460 with :
65- python-version : " 3 "
61+ fetch-depth : 0
6662 - name : Double-check Python version
6763 run : |
6864 python --version
69- - uses : actions/checkout@v5
70- with :
71- fetch-depth : 0
7265 - name : Install doc dependencies
7366 run : |
7467 python -m pip install --group doc
You can’t perform that action at this time.
0 commit comments