Skip to content
Snippets Groups Projects
Commit cd85b610 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Update CI/CD

parent 50481c8e
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ navipy_install:
artifacts:
paths:
- venv
- build
flake8:
stage: test
......@@ -28,6 +29,7 @@ flake8:
script:
- source $CI_PROJECT_DIR/venv/bin/activate
- source $CI_PROJECT_DIR/build
- python3 -m flake8 navipy/*.py
navipy_unittest:
......@@ -37,6 +39,7 @@ navipy_unittest:
script:
- source $CI_PROJECT_DIR/venv/bin/activate
- source $CI_PROJECT_DIR/build
- python3 -m coverage run -m unittest discover navipy
artifacts:
......@@ -51,6 +54,7 @@ coverage:
script:
- source $CI_PROJECT_DIR/venv/bin/activate
- source $CI_PROJECT_DIR/build
- python3 -m coverage html
artifacts:
......@@ -66,6 +70,7 @@ doc_build:
script:
- source $CI_PROJECT_DIR/venv/bin/activate
- source $CI_PROJECT_DIR/build
- pip3 install --user sphinx sphinx_rtd_theme
- cd doc ; make html
......
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