Update .gitlab-ci.yml

This commit is contained in:
Kai Kriegel 2020-09-17 14:13:39 +00:00
parent 4de42c89ef
commit c462936cdf

View File

@ -73,22 +73,22 @@ build_UWP:
- '$env:MSI_RELEASE_FOLDER\YourApp Setup.msi' # saving msi to copy to deploy folder - '$env:MSI_RELEASE_FOLDER\YourApp Setup.msi' # saving msi to copy to deploy folder
- '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
test_job: # test_job:
stage: test # stage: test
tags: # tags:
- xamarin # - xamarin
- windows # - windows
# only: # # only:
# - tags # # - tags
script: # script:
- '& "$env:NUNIT_PATH" ".\$env:TEST_FOLDER\Tests.dll"' # running NUnit tests # - '& "$env:NUNIT_PATH" ".\$env:TEST_FOLDER\Tests.dll"' # running NUnit tests
artifacts: # artifacts:
when: always # save test results even when the task fails # when: always # save test results even when the task fails
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on # expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: # paths:
- '.\TestResult.xml' # saving NUnit results to copy to deploy folder # - '.\TestResult.xml' # saving NUnit results to copy to deploy folder
dependencies: # dependencies:
- build_job # - build_job
# deploy_job: # deploy_job:
# stage: deploy # stage: deploy