Skip to content
Snippets Groups Projects
Commit 79532891 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : python3 -> python

parent af0b459c
No related branches found
No related tags found
1 merge request!7fix : disabling windows release & -DWERROR=1 + dependencies fix
......@@ -78,15 +78,15 @@ coverage:ubuntu_python:
before_script:
- apt-get update
- apt-get install -y python-is-python3 python3-pip
- python3 -m pip install numpy coverage requests
- python -m pip install numpy coverage requests
script:
- source venv/bin/activate
- cd ${CI_PROJECT_NAME}
# Retrieve the installation path of the module, since it is installed with pip.
- export MODULE_LOCATION=`python -c "import ${CI_PROJECT_NAME} as _; print(_.__path__[0])"`
- python3 -m coverage run --source=$MODULE_LOCATION -m unittest discover -s unit_tests/ -v -b
- python3 -m coverage report
- python3 -m coverage xml
- python -m coverage run --source=$MODULE_LOCATION -m unittest discover -s unit_tests/ -v -b
- python -m coverage report
- python -m coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
reports:
......
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