File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed
Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11name : ' Run tox with environment'
2- description : ' Runs tox with pdm as the package manager'
2+ description : ' Runs tox with uv as the package manager'
33inputs :
44 python-version :
55 type : string
@@ -13,8 +13,8 @@ inputs:
1313runs :
1414 using : " composite"
1515 steps :
16- - name : Setup Python with PDM
17- uses : pdm-project /setup-pdm@v4
16+ - name : Setup Python with UV
17+ uses : astral-sh /setup-uv@v7
1818 with :
1919 python-version : ${{ inputs.python-version }}
2020 - name : Install system dependencies
@@ -23,11 +23,11 @@ runs:
2323 shell : bash
2424 - name : Install dependencies
2525 run : |
26- pip install tox tox-pdm
26+ uv pip install tox tox-uv
2727 shell : bash
2828 - name : Run tox
2929 run : |
30- tox run -e "${{ inputs.tox-env }}" -- ${{ inputs.tox-args }} || ret=$?
30+ tox run --runner uv-venv-lock-runner - e "${{ inputs.tox-env }}" -- ${{ inputs.tox-args }} || ret=$?
3131 # errno 5 means all tests were filtered out, ignore
3232 [[ "${ret:=0}" -eq 5 ]] && exit 0; exit $ret
3333 shell : bash
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ jobs:
2929 uses : actions/checkout@v4
3030 with :
3131 fetch-depth : 0
32- - name : Set up Python
33- uses : pdm-project /setup-pdm@v4
32+ - name : Setup Python with UV
33+ uses : astral-sh /setup-uv@v7
3434 with :
3535 python-version : ${{ matrix.python }}
3636 - name : Install dependencies
3737 run : |
38- pip install tox tox-pdm
38+ uv pip install tox tox-pdm
3939 - name : Build the package
4040 run : |
4141 export GUIDELLM_BUILD_TYPE=nightly
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ jobs:
2828 uses : actions/checkout@v4
2929 with :
3030 fetch-depth : 0
31- - name : Set up Python
32- uses : pdm-project /setup-pdm@v4
31+ - name : Setup Python with UV
32+ uses : astral-sh /setup-uv@v7
3333 with :
3434 python-version : ${{ matrix.python }}
3535 - name : Install dependencies
3636 run : |
37- pip install tox tox-pdm
37+ uv pip install tox tox-pdm
3838 - name : Build the package
3939 run : |
4040 export GUIDELLM_BUILD_TYPE=candidate
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ jobs:
2727 uses : actions/checkout@v4
2828 with :
2929 fetch-depth : 0
30- - name : Set up Python
31- uses : pdm-project /setup-pdm@v4
30+ - name : Setup Python with UV
31+ uses : astral-sh /setup-uv@v7
3232 with :
3333 python-version : ${{ matrix.python }}
3434 - name : Install dependencies
3535 run : |
36- pip install tox tox-pdm
36+ uv pip install tox tox-pdm
3737 - name : Build the package
3838 run : |
3939 export GUIDELLM_BUILD_TYPE=release
You can’t perform that action at this time.
0 commit comments