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
|
||||
|
||||
test:
|
||||
image: mcr.microsoft.com/dotnet/sdk:5.0
|
||||
stage: test
|
||||
script:
|
||||
- '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
|
||||
|
||||
publish:
|
||||
image: mcr.microsoft.com/dotnet/sdk:5.0
|
||||
stage: release
|
||||
script:
|
||||
- npm install --ci
|
||||
|
|
Reference in a new issue