File tree Expand file tree Collapse file tree 3 files changed +21
-15
lines changed
Expand file tree Collapse file tree 3 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,13 @@ jobs:
1818 uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
1919 with :
2020 python-version : " 3.13"
21- - name : Install Python dependencies
22- run : |
23- pip3 install build
21+
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
24+
2425 - name : Build a binary wheel and a source tarball
25- run : |
26- python -m build
26+ run : uv build
27+
2728 - name : Store the distribution packages
2829 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2930 with :
Original file line number Diff line number Diff line change 7575 - name : Display Python version
7676 run : python3 -c "import sys; print(sys.version); print(sys.platform)"
7777
78- - name : Install tox
79- run : pip3 install tox --break-system-packages
78+ - name : Install uv
79+ run : pip3 install uv --break-system-packages
8080
81- - name : Run tox
82- run : tox -- -W error
81+ - name : Install Python dependencies
82+ run : uv sync --frozen
83+
84+ - name : Run tasks
85+ run : uv run poe all
Original file line number Diff line number Diff line change @@ -27,19 +27,21 @@ jobs:
2727 path : " ./check out"
2828 persist-credentials : false
2929
30- - name : Set up Python
31- uses : actions /setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0 .0
30+ - name : Install uv
31+ uses : astral-sh /setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7 .0
3232 with :
3333 python-version : ${{ matrix.python-version }}
34+ working-directory : ' ./check out/'
35+ enable-cache : true
3436
3537 - name : Display Python version
3638 run : python -c "import sys; print(sys.version); print(sys.platform)"
3739
38- - name : Install tox
39- run : pip3 install tox
40+ - name : Setup project
41+ run : uv sync --frozen --directory "./check out/"
4042
41- - name : Run tox
42- run : tox -c ' check out' -- -W error
43+ - name : Run tasks
44+ run : uv run --frozen --directory "./ check out/" poe all
4345
4446 - name : Upload coverage reports
4547 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
You can’t perform that action at this time.
0 commit comments