Skip to content

Commit af48604

Browse files
committed
Pull correct PYPY 3.10 image
1 parent bd8b24f commit af48604

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,13 @@ jobs:
350350
SVC=verticadb-sample-defaultsubcluster
351351
LOCATOR="${SVC}.${NS}.svc.cluster.local:5433"
352352
POD=py-test-runner
353-
IMAGE=python:${{ matrix.python-version }}-slim
353+
# Decide image based on matrix value
354+
if [[ "${{ matrix.python-version }}" == pypy* ]]; then
355+
VERSION="${{ matrix.python-version }}" # e.g. "pypy3.10"
356+
IMAGE="pypy:${VERSION#pypy}" # strip "pypy" prefix in bash → "pypy:3.10"
357+
else
358+
IMAGE="python:${{ matrix.python-version }}"
359+
fi
354360
echo "Ensuring namespace ${NS} exists..."
355361
kubectl get ns ${NS} >/dev/null 2>&1 || kubectl create ns ${NS}
356362
echo "Waiting for Vertica service endpoints..."

0 commit comments

Comments
 (0)