From 10cf594c91299878dfbcf603ec81b95e1be23019 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 7 Jun 2021 02:19:54 +0100 Subject: [PATCH] grrr test report html --- .gitlab-ci.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d8ea55b..df96f1bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: