1
0

GitLab CI führt UnitTests aus

This commit is contained in:
2021-11-16 22:51:00 +01:00
parent 9f65b73204
commit 3a0732dd22

View File

@@ -1,7 +1,13 @@
image: mcr.microsoft.com/dotnet/sdk
variables:
LANG: "de"
TZ: "Europe/Berlin"
stages:
- build
- test
- publish
build:
stage: build
@@ -9,4 +15,22 @@ build:
- docker
script:
- bash build.sh
artifacts:
paths:
- artifacts/*.nupkg
- artifacts/*.snupkg
expire_in: 1 day
test:
stage: test
tags:
- docker
script:
- dotnet test -c Release
publish:
stage: publish
tags:
- docker
script:
- dotnet nuget push -k $APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/*.nupkg