grrr test report html

This commit is contained in:
Paul Schneider
2021-06-07 02:19:54 +01:00
parent 007751dbee
commit 80e90a5d5c

View File

@ -21,23 +21,27 @@ before_script:
- cd ../cli && dnu restore --ignore-failed-sources
- cd ../../test/yavscTests && dnu restore --ignore-failed-sources
- cd ../..
after_script:
debug:
stage: test
allow_failure: true
script:
- cd test/yavscTests
- cp $TestingConfig appsettings.Testing.json
- cp $yavsc_client_secret_json yavsc-client-secret.json
- dnu build
non_reg:
stage: test
artifacts:
paths:
- test/yavscTests/test-results.xml
- test/yavscTests/test-results.html
when: always
script:
- cd test/yavscTests
- cp $TestingConfig appsettings.Testing.json
- cp $yavsc_client_secret_json yavsc-client-secret.json
- dnu build
- ASPNET_ENV=Testing dnx test -maxthreads 1 -xml test-results.xml
- xsltproc ../../assets/dnx_xunit_to_html.xsl test-results.xml > test-results.html
- ASPNET_ENV=Testing dnx test -maxthreads 1 -xml test-results.xml || xsltproc ../../assets/dnx_xunit_to_html.xsl test-results.xml > test-results.html
release:
stage: deploy
only: