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: