Bopytex/.drone.yml
Bertrand Benjamin 251350f30e
Some checks failed
continuous-integration/drone/push Build is failing
Feat: add install of textlive in pipelines
2022-07-28 15:07:17 +02:00

28 lines
616 B
YAML

---
kind: pipeline
name: default
steps:
- name: Tests
image: python:3.10
environment:
PyPI_TOKEN: pypi_token
commands:
- apt-get install -y texlive texlive-extra-utils
- python -m pip install --upgrade pip
- python -m pip install poetry
- poetry install
- poetry run pytest
- name: Publish
image: python:3.10
environment:
PyPI_TOKEN: pypi_token
commands:
- python -m pip install --upgrade pip
- python -m pip install poetry
- poetry config pypi-token.pypi $PyPI_TOKEN
- poetry publish --build
when:
event: tag