File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313 name : Test package build
1414 runs-on : ubuntu-latest
1515 if : " !startsWith(github.event.head_commit.message, 'bump:')"
16+ env :
17+ PYTHON_VERSION : 3.13
1618 steps :
1719 - name : Check out the repo
1820 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -21,14 +23,14 @@ jobs:
2123 uses : astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
2224
2325 - name : Build the package
24- run : uv build
26+ run : uv build --python $PYTHON_VERSION
2527
2628 - name : List built artifacts
2729 run : ls -la dist/
2830
2931 - name : Install the built wheel
3032 run : |
31- uv venv
33+ uv venv --python $PYTHON_VERSION
3234 # Find the wheel file and install it
3335 WHEEL_FILE=$(ls dist/*.whl | head -1)
3436 echo "Installing wheel: $WHEEL_FILE"
6466 docker : ${{ steps.docker-changes.outputs.docker }}
6567 workflow : ${{ steps.docker-changes.outputs.workflow }}
6668
67-
6869 test-docker-build :
6970 needs : [should-test-docker-build]
7071 name : Test Docker build
9293 push : false
9394 platforms : linux/amd64,linux/arm64
9495 cache-from : type=registry,ref=ghcr.io/elementsinteractive/lightman-ai:buildcache
95-
Original file line number Diff line number Diff line change 1919 uses : astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
2020
2121 - name : Install the project
22- run : uv sync --locked --group lint --group test --all-extras
22+ run : uv sync --locked --group lint --group test --all-extras --python 3.13
2323
2424 - name : Cache mypy cache
2525 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.2.1
Original file line number Diff line number Diff line change 1919 uses : astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
2020
2121 - name : Install the project
22- run : uv sync --locked --group test --all-extras
22+ run : uv sync --locked --group test --all-extras --python 3.13
2323
2424 - name : Run tests
2525 run : uv run pytest tests
You can’t perform that action at this time.
0 commit comments