Run deployment tests from Docker build context
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||
|
||||
WORKDIR /src
|
||||
COPY api/ ./api/
|
||||
|
||||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
|
||||
RUN dotnet test api/QuestionsApi.Tests/QuestionsApi.Tests.csproj -c Release
|
||||
Reference in New Issue
Block a user