From 5cd8f8dc4ba0a5cf5f870a1b1f3768a0f51ef3a4 Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Tue, 22 Apr 2025 07:15:12 +0000 Subject: [PATCH] Add PyTest dependency for ubuntu python coverage job. --- .gitlab/ci/ubuntu_python.gitlab-ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitlab/ci/ubuntu_python.gitlab-ci.yml b/.gitlab/ci/ubuntu_python.gitlab-ci.yml index f1572a4..abab8ae 100644 --- a/.gitlab/ci/ubuntu_python.gitlab-ci.yml +++ b/.gitlab/ci/ubuntu_python.gitlab-ci.yml @@ -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. -- GitLab