Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AruMoon committed Mar 21, 2023
1 parent 66f45d8 commit 044b5e4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ test-debug:
- mkdir .git/hooks -p
- python3 RUN_THIS.py
- dotnet restore
- dotnet build --configuration Debug --no-restore /p:WarningsAsErrors=nullable /m
- pwsh -Command "dotnet test --no-build Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0"
- dotnet build --configuration DebugOpt --no-restore /p:WarningsAsErrors=nullable /m
- pwsh -Command "dotnet test --configuration DebugOpt --no-build Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0"
- export DOTNET_gcServer=1
- pwsh -Command "dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0"
- pwsh -Command "dotnet test --configuration DebugOpt --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0"

test-release:
stage: test
Expand All @@ -27,14 +27,15 @@ test-release:
- mkdir .git/hooks -p
- python3 RUN_THIS.py
- dotnet restore
- dotnet build --configuration Release --no-restore /p:WarningsAsErrors=nullable /m
- pwsh -Command "dotnet test --no-build Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0"
- dotnet build --configuration Tools --no-restore /p:WarningsAsErrors=nullable /m
- pwsh -Command "dotnet test --configuration Tools --no-build Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0"
- export DOTNET_gcServer=1
- pwsh -Command "dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0"
- pwsh -Command "dotnet test --configuration Tools --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0"

publish:
stage: publish
retry: 2
interruptible: true
rules:
- if: '$SSH_PRIVATE_KEY != null'
script:
Expand Down

0 comments on commit 044b5e4

Please sign in to comment.