mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 00:20:50 +00:00
Add ArchiSteamFarm.Tests folder to dockerfiles
This commit is contained in:
@@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \
|
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 && \
|
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \
|
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 && \
|
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \
|
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 && \
|
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=docker /p:LinkDuringPublish=false && \
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ ENV NET_CORE_VERSION netcoreapp2.1
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
dotnet test ArchiSteamFarm.Tests -c Release -f "$NET_CORE_VERSION" -o out/test /nologo && \
|
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 && \
|
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out/publish /nologo /p:ASFVariant=docker /p:LinkDuringPublish=false && \
|
||||||
|
|||||||
Reference in New Issue
Block a user