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

chore : python3 -> python

parent fc8679aa
No related branches found
No related tags found
1 merge request!7fix : disabling windows release & -DWERROR=1 + dependencies fix
...@@ -50,7 +50,7 @@ test:ubuntu_python: ...@@ -50,7 +50,7 @@ test:ubuntu_python:
- !reference [.retrieve_deps:apt, script] - !reference [.retrieve_deps:apt, script]
script: script:
- source venv/bin/activate - source venv/bin/activate
- python3 -m pip install unittest-xml-reporting - python -m pip install unittest-xml-reporting
- > - >
if [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]]; then if [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]]; then
python3 -m pip install requests python3 -m pip install requests
...@@ -59,7 +59,7 @@ test:ubuntu_python: ...@@ -59,7 +59,7 @@ test:ubuntu_python:
# Run on discovery all tests located in project/unit_tests/python and discard the stdout # Run on discovery all tests located in project/unit_tests/python and discard the stdout
# only to show the errors/warnings and the results of the tests # only to show the errors/warnings and the results of the tests
- python -m pip list - python -m pip list
- python3 -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml - python -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml
artifacts: artifacts:
reports: reports:
...@@ -79,7 +79,7 @@ coverage:ubuntu_python: ...@@ -79,7 +79,7 @@ coverage:ubuntu_python:
- apt-get update - apt-get update
- apt-get install -y python-is-python3 python3-pip cmake # cmake for aidge_core tests - apt-get install -y python-is-python3 python3-pip cmake # cmake for aidge_core tests
- source venv/bin/activate - source venv/bin/activate
- python -m pip install numpy coverage requests - python -m pip install numpy coverage requests unittest-xml-reporting
script: script:
- cd ${CI_PROJECT_NAME} - cd ${CI_PROJECT_NAME}
# Retrieve the installation path of the module, since it is installed with pip. # Retrieve the installation path of the module, since it is installed with pip.
......
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