diff --git a/ci/pex-build.template.yml b/ci/pex-build.template.yml
index 4ceeaea775f96dc5fb85f73d6882133c71909ead..382f5b252b8214e93fc44591b0a7afb539113311 100644
--- a/ci/pex-build.template.yml
+++ b/ci/pex-build.template.yml
@@ -2,7 +2,7 @@
 .build-pexes:
     image: python:3.10
     script:
-        - pip install build twine
+        - pip install build twine pytest
         - python -m build ${PEX_PATH}
         - pip install ${PEX_PATH}
         - NAME=$(awk -F' = ' '/^\[tool.poetry\]/ { project = 1; next } /^\[.*\]/ { project = 0 } project && $1 == "name" { gsub(/"/, "", $2); print $2 }' ${PEX_PATH}/pyproject.toml)