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

Merge branch 'dev-packaging' into 'master'

Fix publishing with poetry

See merge request !6
parents ff66f528 401823ca
Pipeline #7630 passed with stages
in 2 minutes and 38 seconds
*.swp *.swp
.DS_Store .DS_Store
default.profraw
.ipynb_checkpoints .ipynb_checkpoints
*.pyc *.pyc
__pycache__/ __pycache__/
...@@ -12,4 +13,4 @@ tests/notebooks ...@@ -12,4 +13,4 @@ tests/notebooks
.doit.db.db .doit.db.db
.pytest_cache/ .pytest_cache/
*.egg-info/ *.egg-info/
dist/ dist/
\ No newline at end of file
...@@ -4,14 +4,16 @@ stages: ...@@ -4,14 +4,16 @@ stages:
- test - test
- deploy - deploy
before_script:
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
test: test:
stage: test stage: test
tags: tags:
- docker - docker
script: script:
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - poetry install
- source $HOME/.poetry/env
- poetry install
- poetry run pytest tests -v - poetry run pytest tests -v
deploy: deploy:
......
Markdown is supported
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