Add gitlab-ci

This commit is contained in:
Fabian 2022-09-21 23:53:45 +02:00
parent dadbdfac73
commit c14ea1f614

20
.gitlab-ci.yml Normal file
View File

@ -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