ci: setting image
This commit is contained in:
parent
d281a34eb2
commit
ebbde0bf15
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ build:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:5.0
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- 'dotnet test --test-adapter-path:. --logger:"junit;LogFilePath=../artifacts/{assembly}-test-result.xml;MethodFormat=Default;FailureBodyFormat=Verbose" --collect:"XPlat Code Coverage"'
|
- 'dotnet test --test-adapter-path:. --logger:"junit;LogFilePath=../artifacts/{assembly}-test-result.xml;MethodFormat=Default;FailureBodyFormat=Verbose" --collect:"XPlat Code Coverage"'
|
||||||
|
@ -45,6 +46,7 @@ test:
|
||||||
- ./coverage/Cobertura.xml
|
- ./coverage/Cobertura.xml
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:5.0
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
- npm install --ci
|
- npm install --ci
|
||||||
|
|
Reference in a new issue