diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f626432..ba3e126 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,12 +3,16 @@ stages: - publish running tests for tag: + tags: + - shared image: mcr.microsoft.com/dotnet/core/sdk:3.1 stage: test script: - dotnet test ./tests publish to nuget: + tags: + - shared only: - /^\d*.\d*.\d*$/ # gets triggered if the commit tag is in the form n.n.n where n is any number image: mcr.microsoft.com/dotnet/core/sdk:3.1 diff --git a/tests/Novaloop.PaymoApi.Tests.csproj b/tests/Novaloop.PaymoApi.Tests.csproj index 19866ac..f35f1c1 100644 --- a/tests/Novaloop.PaymoApi.Tests.csproj +++ b/tests/Novaloop.PaymoApi.Tests.csproj @@ -1,22 +1,15 @@ - - netstandard2.0 + + netcoreapp3.1 - false - + false + - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - + + + + +