Skip to content
Snippets Groups Projects
Commit 739328d6 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed project name

parent 75db7a40
No related branches found
No related tags found
1 merge request!3Added coverage
Pipeline #31155 passed
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
......@@ -27,7 +27,7 @@ coverage:ubuntu_python:
script:
- source venv/bin/activate
- python3 -m pip install numpy coverage
- cd $PROJECT_NAME
- cd ${CI_PROJECT_NAME}
- python3 -m coverage run --source=. -m unittest discover -s unit_tests/ -v -b
- python3 -m coverage report
- python3 -m coverage xml
......@@ -36,4 +36,4 @@ coverage:ubuntu_python:
reports:
coverage_report:
coverage_format: cobertura
path: $PROJECT_NAME/coverage.xml
path: ${CI_PROJECT_NAME}/coverage.xml
......@@ -26,8 +26,8 @@ static_analysis:python:
script:
- pip install pylint
- pip install pylint-gitlab
- pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabCodeClimateReporter $PROJECT_NAME/ > codeclimate.json
- pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabPagesHtmlReporter $PROJECT_NAME/ > pylint.html
- pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabCodeClimateReporter ${CI_PROJECT_NAME}/ > codeclimate.json
- pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabPagesHtmlReporter ${CI_PROJECT_NAME}/ > pylint.html
- mkdir -p public/python/$CI_COMMIT_REF_NAME
- mv pylint.html public/python/$CI_COMMIT_REF_NAME/
artifacts:
......
......@@ -17,7 +17,7 @@ test:ubuntu_python:
- docker
script:
- source venv/bin/activate
- cd $PROJECT_NAME
- 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 and discard the stdout
......@@ -25,7 +25,7 @@ test:ubuntu_python:
- python3 -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml
artifacts:
reports:
junit: $PROJECT_NAME/xmlrunner-results.xml
junit: ${CI_PROJECT_NAME}/xmlrunner-results.xml
test:windows_cpp:
stage: test
......
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