File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ jobs:
1616 with :
1717 fetch-depth : 0
1818
19+ - name : Install uv
20+ uses : astral-sh/setup-uv@v5
21+ with :
22+ enable-cache : true
23+
1924 - name : Set up Python
20- uses : actions/setup-python@v3
25+ uses : actions/setup-python@v5
2126 with :
2227 python-version : ' 3.x'
2328
24- - name : Install dependencies
25- run : |
26- python -m pip install --upgrade pip
27- pip install build wheel setuptools
28-
2929 - name : Build package
30- run : python -m build
30+ run : uv build
3131
3232 - name : Publish package
3333 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-latest
66 steps :
77 - uses : actions/checkout@v4
8+ - name : Install uv
9+ uses : astral-sh/setup-uv@v5
10+ with :
11+ enable-cache : true
812 - name : Set up Python
913 uses : actions/setup-python@v5
1014 with :
1115 python-version : ' 3.x'
1216 - name : Install dependencies
13- run : |
14- python -m pip install --upgrade pip
15- pip install -e .[test]
17+ run : uv sync --group test
1618 - name : Test with pytest
17- run : |
18- pytest tests/ -v
19+ run : uv run pytest tests/ -v
You can’t perform that action at this time.
0 commit comments