diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..cb6a14cef22525276f1cd5f764027ae2863346f5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +image: python:3.11 + +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + +cache: + paths: + - .cache/pip + +before_script: + - python --version ; pip --version # For debugging + - python -m venv venv + - source venv/bin/activate + +test: + script: + - pip install build auditwheel abi3audit pytest + - python -m build + - auditwheel repair dist/*.whl + - abi3audit -vs wheelhouse/*.whl + - pip install wheelhouse/*.whl + - pytest + artifacts: + paths: + - dist/*.tar.gz + - wheelhouse/*