From 332cdf9a30e58b1fb2ec9d7fed1097694c8ebfe9 Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Thu, 14 Sep 2023 11:46:43 +0200 Subject: [PATCH] Re-enabled ubuntu python test --- .gitlab/ci/test.gitlab-ci.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index d50633d..92b932f 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -10,21 +10,21 @@ test:ubuntu_cpp: reports: junit: build_cpp/ctest-results.xml -# test:ubuntu_python: -# stage: test -# needs: ["build:ubuntu_python"] -# tags: -# - docker -# script: -# - source venv/bin/activate -# - cd ${CI_PROJECT_NAME} -# - python3 -m pip install numpy unittest-xml-reporting -# - python3 -m pip list -# # Run on discovery all tests located in core/unit_tests/python -# - python3 -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml -# artifacts: -# reports: -# junit: ${CI_PROJECT_NAME}/xmlrunner-results.xml +test:ubuntu_python: + stage: test + needs: ["build:ubuntu_python"] + tags: + - docker + script: + - source venv/bin/activate + - cd ${CI_PROJECT_NAME} + - python3 -m pip install numpy unittest-xml-reporting + - python3 -m pip list + # Run on discovery all tests located in core/unit_tests/python + - python3 -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml + artifacts: + reports: + junit: ${CI_PROJECT_NAME}/xmlrunner-results.xml # test:windows_cpp: # stage: test -- GitLab