File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ permissions:
1414
1515jobs :
1616 e2e-gpu :
17- name : " E2E GPU (${{ matrix.name }})"
17+ name : " E2E Docker GPU (${{ matrix.name }})"
1818 runs-on : ${{ matrix.runner }}
1919 continue-on-error : ${{ matrix.experimental }}
2020 timeout-minutes : 30
5555 - name : Log in to GHCR
5656 run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
5757
58- - name : Install Python dependencies and generate protobuf stubs
59- run : uv sync --frozen && mise run --no-deps python:proto
58+ - name : Check Docker GPU prerequisites
59+ run : |
60+ docker info --format '{{json .CDISpecDirs}}'
61+ GPU_PROBE_IMAGE="$(awk '$1 == "FROM" && $3 == "AS" && $4 == "gateway" { print $2; exit }' deploy/docker/Dockerfile.images)"
62+ test -n "${GPU_PROBE_IMAGE}"
63+ docker run --rm --device nvidia.com/gpu=all "${GPU_PROBE_IMAGE}" nvidia-smi -L
6064
6165 - name : Run tests
62- run : mise run --no-deps --skip-deps e2e:python :gpu
66+ run : mise run --no-deps --skip-deps e2e:docker :gpu
Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ description = "Run all end-to-end tests (Rust + Python)"
1212depends = [" e2e:rust" , " e2e:python" ]
1313
1414["e2e:gpu" ]
15- description = " Run GPU end-to-end tests"
15+ description = " Run Docker GPU end-to-end tests"
16+ depends = [" e2e:docker:gpu" ]
17+
18+ ["e2e:k3s:gpu" ]
19+ description = " Run k3s GPU end-to-end tests"
1620depends = [" e2e:python:gpu" ]
1721
1822["test:rust" ]
You can’t perform that action at this time.
0 commit comments