fime/.gitlab-ci.yml
2022-09-21 23:58:23 +02:00

22 lines
353 B
YAML

image: python:3.10-slim
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
PIPENV_VENV_IN_PROJECT: 1
cache:
paths:
- .cache/pip
- .venv/
package_pip:
stage: build
script:
- python --version
- pip install pipenv build
- pipenv sync --dev
- pipenv run python -m build -w
artifacts:
paths:
- dist/*.whl