Skip to content
Snippets Groups Projects
Commit 5cd8f8dc authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Add PyTest dependency for ubuntu python coverage job.

parent 25922116
No related branches found
No related tags found
No related merge requests found
......@@ -55,11 +55,6 @@ test:ubuntu_python:
tags:
- docker
extends: .setup:test:ubuntu_python
# before_script: &setup_ubuntu_test
# - >
# if [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]]; then
# python -m pip install requests onnxruntime>=1.18.0
# fi
script:
- cd ${CI_PROJECT_NAME}
# Run on discovery all tests located in project/unit_tests/python and discard the stdout
......@@ -81,7 +76,7 @@ test:ubuntu_python:
- source venv/bin/activate
- which python
- python -m pip list
- python -m pip install numpy coverage requests
- python -m pip install numpy coverage requests pytest
coverage:ubuntu_python:
stage: coverage
......@@ -92,12 +87,6 @@ coverage:ubuntu_python:
tags:
- docker
# before_script: &setup_ubuntu_cov
# - >
# if [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]]; then
# python -m pip install pytest onnxruntime>=1.18.0
# fi
script:
- cd ${CI_PROJECT_NAME}
# 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