This commit is contained in:
Paul Schneider 2021-08-15 14:09:11 +01:00
commit 6520d8e4cc

View file

@ -7,18 +7,17 @@ before_script:
- dotnet restore - dotnet restore
- dotnet nuget remove source gitlab || true - dotnet nuget remove source gitlab || true
nonreg: nonreg:
tags:
- dotnet
stage: test stage: test
script: script:
- | - |
echo "$CI_JOB_STAGE" echo "$CI_JOB_STAGE"
cd test/isnd.tests/ cd test/isnd.tests/
ASPNETCORE_ENVIRONMENT=Development dotnet test ASPNETCORE_ENVIRONMENT=Development dotnet test
test2:
stage: test
script:
- echo "Do another parallel test here"
- echo "For example run a lint test"
publish: publish:
tags:
- dotnet
stage: deploy stage: deploy
artifacts: artifacts:
paths: paths:
@ -27,9 +26,9 @@ publish:
script: script:
- dotnet publish --configuration Release - dotnet publish --configuration Release
deploy-to-gitlab: deploy-to-gitlab:
stage: deploy
tags: tags:
- msbuild - dotnet
stage: deploy
artifacts: artifacts:
paths: paths:
- src/*/bin/Release/*.nupkg - src/*/bin/Release/*.nupkg