From b67e188fce970b71c045edf4e69be90eda155b7f Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 5 Oct 2018 17:43:50 +0200 Subject: [PATCH] Add ArchiSteamFarm.Tests folder to dockerfiles --- Dockerfile.Service.arm | 1 + Dockerfile.Service.x64 | 1 + Dockerfile.arm | 1 + Dockerfile.x64 | 1 + 4 files changed, 4 insertions(+) diff --git a/Dockerfile.Service.arm b/Dockerfile.Service.arm index 3d9e5b4ce..8d30d1a9e 100644 --- a/Dockerfile.Service.arm +++ b/Dockerfile.Service.arm @@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1 WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm +COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests RUN dotnet --info && \ dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \ dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \ diff --git a/Dockerfile.Service.x64 b/Dockerfile.Service.x64 index 0e4315ab7..c84b37813 100644 --- a/Dockerfile.Service.x64 +++ b/Dockerfile.Service.x64 @@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1 WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm +COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests RUN dotnet --info && \ dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \ dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \ diff --git a/Dockerfile.arm b/Dockerfile.arm index 36f5813eb..f36c252b8 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1 WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm +COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests RUN dotnet --info && \ dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \ dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=docker /p:LinkDuringPublish=false && \ diff --git a/Dockerfile.x64 b/Dockerfile.x64 index 15a84df36..9faeb8092 100644 --- a/Dockerfile.x64 +++ b/Dockerfile.x64 @@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1 WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm +COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests RUN dotnet --info && \ dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \ dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=docker /p:LinkDuringPublish=false && \