Skip to content
Snippets Groups Projects
Commit 11df39ad authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

Docs: update CI

parent 196510a6
No related branches found
No related tags found
1 merge request!114Doc: Integrate FINAM book and update API doc
Pipeline #122765 failed with stages
in 2 minutes and 1 second
......@@ -19,20 +19,21 @@ test:
stage: test
script:
- pip3 install --editable .[test]
- python -m pytest --cov finam --cov-report term-missing --cov-report xml:cov.xml -v tests/
- python -m pytest --cov finam --cov-report html:cov --cov-report term-missing --cov-report xml:cov.xml -v tests/
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: cov.xml
paths:
- cov
documentation:
stage: build
script:
- pip3 install --editable .[doc]
- sphinx-apidoc --separate -o docs src/finam
- sphinx-build -b html docs docs/build
- sphinx-build docs/source docs/build
- mv docs/build public/
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment