diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb6a14cef22525276f1cd5f764027ae2863346f5..851a1f09ab2480b9a4b149a9e6b7380a9c9204a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,25 +1,25 @@ -image: python:3.11 +image: quay.io/pypa/manylinux_2_34_x86_64 variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + PYTHON: "/opt/python/cp311-cp311/bin/python" cache: paths: - .cache/pip before_script: - - python --version ; pip --version # For debugging - - python -m venv venv - - source venv/bin/activate + - $PYTHON --version ; $PYTHON -m pip --version # For debugging + - $PYTHON -m venv venv test: script: - - pip install build auditwheel abi3audit pytest - - python -m build + - $PYTHON -m build - auditwheel repair dist/*.whl - - abi3audit -vs wheelhouse/*.whl - - pip install wheelhouse/*.whl - - pytest + - venv/bin/pip install pytest abi3audit + - venv/bin/abi3audit -vs wheelhouse/*.whl + - venv/bin/pip install wheelhouse/*.whl + - venv/bin/pytest artifacts: paths: - dist/*.tar.gz