From c14ea1f614194f1f99f83ac322f0196f985ffb0e Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 21 Sep 2022 23:53:45 +0200 Subject: [PATCH] Add gitlab-ci --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitlab-ci.yml 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