mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
build(migrations): 🔨 mv tests to tests dir in build container
This commit is contained in:
parent
40f2378df9
commit
e0c99730b3
1 changed files with 2 additions and 2 deletions
|
|
@ -31,13 +31,13 @@ FROM build AS test-migrations
|
|||
ENTRYPOINT ["dotnet", "test", "--logger:trx"]
|
||||
|
||||
# restore Infrastructure.Migrations.Tests
|
||||
WORKDIR /src/FilterLists.Directory.Infrastructure.Migrations.Tests
|
||||
WORKDIR /tests/FilterLists.Directory.Infrastructure.Migrations.Tests
|
||||
COPY directory/tests/FilterLists.Directory.Infrastructure.Migrations.Tests/FilterLists.Directory.Infrastructure.Migrations.Tests.csproj .
|
||||
RUN dotnet restore
|
||||
|
||||
# build Infrastructure.Migrations.Tests
|
||||
COPY directory/tests/FilterLists.Directory.Infrastructure.Migrations.Tests/. .
|
||||
RUN dotnet build -c Release --no-restore -r linux-musl-x64
|
||||
RUN dotnet build -c Release --no-restore -r linux-musl-x64
|
||||
|
||||
# package final
|
||||
FROM base AS final
|
||||
|
|
|
|||
Loading…
Reference in a new issue