Commit a442728a authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Update CI for publishing with poetry

parent 9ddae240
Pipeline #7624 passed with stage
in 1 minute and 51 seconds
image: boileaum/jupyter
stages:
- test
- deploy
test:
stage: test
tags:
- docker
variables:
PYTHONPATH: '.'
script:
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
- poetry install
- poetry run pytest tests -v
deploy:
stage: deploy
tags:
- docker
script:
- poetry build
- poetry publish -u boileau -p $PYPI_PASSWORD
only:
- master
\ No newline at end of file
[tool.poetry]
name = "nbcourse"
version = "0.1.1"
version = "0.1.3"
description = "Create a minisite to publish a course based on Jupyter notebooks"
authors = ["Matthieu Boileau <matthieu.boileau@math.unistra.fr>"]
license = "MIT"
keywords = ["jupyter", "nbconvert"]
repository = "https://gitlab.math.unistra.fr/boileau/nbcourse"
include = ["reveal.js/**/*", "skeleton/**/*"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.7"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment