diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d185c08 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: python:3.10-slim + +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + +cache: + paths: + - .cache/pip + - venv/ + +package_pip: + stage: build + script: + - python --version + - pip install pipenv build + - pipenv sync + - pipenv run python -m build -w + artifacts: + paths: + - dist/*.whl