Skip to content
Snippets Groups Projects
Commit 5d24bb06 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Merge branch 'gitlab-test' into 'master'

Create an xml test report for Gitlab Tests

See merge request !64
parents d099a547 a0664a6e
Branches
Tags
1 merge request!64Create an xml test report for Gitlab Tests
Pipeline #64365 passed
......@@ -48,8 +48,9 @@ test:
- {{ name }}
commands:
# runs tests for package only, report only what is in the package
# creates html and xml reports and place them in specific directories
- pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --pyargs {{ name }}
# creates xml tests report and place it in a specific directory
# creates html and xml coverage reports and place them in a specific directory
- pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --junitxml={{ project_dir }}/test_results.xml --pyargs {{ name }}
- sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
- sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
- conda inspect linkages -p $PREFIX {{ name }} # [not win]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment