diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index d50633dc5bdc3dff4fd7c849e3bce4ef64af25b9..92b932f86193d1525b9bba8cad0b92271f3c966f 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