Skip to content

Commit 216e6d2

Browse files
committed
disable running tests, for now
1 parent 850e23e commit 216e6d2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Dockerfile-dev
2222
bld/
2323
[Bb]in/
2424
[Oo]bj/
25-
25+
[Pp]lain/
2626
# Visual Studio 2015 cache/options directory
2727
.vs/
2828
.vscode

CSDiscordService.Tests/EvalTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class EvalTests : IDisposable
2424

2525
public EvalTests(ITestOutputHelper outputHelper)
2626
{
27+
2728
Environment.SetEnvironmentVariable("ASPNETCORE_ENVIRONMENT", Environments.Development);
2829

2930

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ WORKDIR /src
33
COPY . .
44
RUN dotnet --info
55
RUN dotnet restore CSDiscord.sln --configfile .nuget/nuget.config
6-
RUN dotnet build --no-restore
7-
RUN dotnet test CSDiscordService.Tests/CSDiscordService.Tests.csproj --no-build --no-restore
8-
RUN dotnet publish CSDiscordService/CSDiscordService.csproj --no-build --no-restore -o /app
6+
RUN dotnet build --configuration Release --no-restore
7+
#RUN dotnet test --configuration Release CSDiscordService.Tests/CSDiscordService.Tests.csproj --no-build --no-restore
8+
RUN dotnet publish --configuration Release CSDiscordService/CSDiscordService.csproj --no-build --no-restore -o /app
99

1010
FROM mcr.microsoft.com/dotnet/aspnet:6.0
1111
WORKDIR /app

0 commit comments

Comments
 (0)