File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed
Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 44 directory : " /"
55 schedule :
66 interval : " weekly"
7+ - package-ecosystem : " uv"
8+ directory : " /"
9+ schedule :
10+ interval : " weekly"
Original file line number Diff line number Diff line change 11name : Build and publish to PyPI
22on : push
3+ env :
4+ UV_PYTHON_DOWNLOADS : never
35jobs :
46 build :
57 name : Build distribution
68 runs-on : ubuntu-latest
79 steps :
810 - uses : actions/checkout@v6
9- - name : Set up Python
10- uses : actions/setup-python@v6
11- with :
12- python-version : " 3"
13- - name : Install "build"
14- run : |
15- python -m pip install build
11+ - uses : astral-sh/setup-uv@v7
1612 - name : Build a binary wheel and a source tarball
17- run : python -m build
13+ run : |
14+ uv build
1815 - name : Store the distribution packages
1916 uses : actions/upload-artifact@v6
2017 with :
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Run Tests
22on : [push, pull_request]
33env :
44 UV_PYTHON_DOWNLOADS : never
5+ UV_NO_DEV : 1
56 PYTEST_ADDOPTS : " --color=yes"
67jobs :
78 tests :
@@ -43,15 +44,13 @@ jobs:
4344 run : |
4445 jackd --no-realtime -d dummy &
4546 - uses : actions/checkout@v6
46- - name : Install uv
47- uses : astral-sh/setup-uv@v7
48- - name : Install Python package
47+ - uses : astral-sh/setup-uv@v7
48+ - name : Install (editable) Python package
4949 run : |
50- uv sync --locked
51- uv run jack_build.py
50+ uv run --locked jack_build.py
5251 - name : Run tests
5352 run : |
54- uv run pytest
53+ uv run --group test pytest
5554
5655 docs :
5756 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments