Add gitlab-ci
This commit is contained in:
parent
dadbdfac73
commit
c14ea1f614
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user