add junitxml report

This commit is contained in:
Kay0u 2020-05-20 16:34:42 +02:00
parent c2d990fd37
commit 767c68d186
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -20,6 +20,9 @@
- job: build-moulinette - job: build-moulinette
artifacts: true artifacts: true
- job: upgrade - job: upgrade
artifacts:
reports:
junit: report.xml
######################################## ########################################
# TESTS # TESTS
@ -48,70 +51,70 @@ full-tests:
root-tests: root-tests:
extends: .test-stage extends: .test-stage
script: script:
- py.test tests - py.test tests --junitxml=report.xml
test-apps: test-apps:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_apps.py - py.test tests/test_apps.py --junitxml=report.xml
test-appscatalog: test-appscatalog:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_appscatalog.py - py.test tests/test_appscatalog.py --junitxml=report.xml
test-appurl: test-appurl:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_appurl.py - py.test tests/test_appurl.py --junitxml=report.xml
test-apps-arguments-parsing: test-apps-arguments-parsing:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_apps_arguments_parsing.py - py.test tests/test_apps_arguments_parsing.py --junitxml=report.xml
test-backuprestore: test-backuprestore:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_backuprestore.py - py.test tests/test_backuprestore.py --junitxml=report.xml
test-changeurl: test-changeurl:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_changeurl.py - py.test tests/test_changeurl.py --junitxml=report.xml
test-permission: test-permission:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_permission.py - py.test tests/test_permission.py --junitxml=report.xml
test-settings: test-settings:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_settings.py - py.test tests/test_settings.py --junitxml=report.xml
test-user-group: test-user-group:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_user-group.py - py.test tests/test_user-group.py --junitxml=report.xml
test-regenconf: test-regenconf:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_regenconf.py - py.test tests/test_regenconf.py --junitxml=report.xml
test-service: test-service:
extends: .test-stage extends: .test-stage
script: script:
- cd src/yunohost - cd src/yunohost
- py.test tests/test_service.py - py.test tests/test_service.py --junitxml=report.xml