diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index bbce0fcd6..bbeb800c1 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -90,10 +90,15 @@ jobs:
- name: Load Image
run: docker load < squidex-tmp.tar.gz
- - name: Replace Image Name
+ - name: Replace Image Name1
uses: mikefarah/yq@v4.9.1
with:
- cmd: yq e '.services.squidex.image = "squidex-tmp"' -i backend/tests/docker-compose.yml
+ cmd: yq e '.services.squidex1.image = "squidex-tmp"' -i backend/tests/docker-compose.yml
+
+ - name: Replace Image Name2
+ uses: mikefarah/yq@v4.9.1
+ with:
+ cmd: yq e '.services.squidex2.image = "squidex-tmp"' -i backend/tests/docker-compose.yml
- name: Start Test
run: docker-compose up -d
@@ -102,12 +107,24 @@ jobs:
- name: RUN TEST
uses: kohlerdominik/docker-run-action@v1.0.0
with:
- image: mcr.microsoft.com/dotnet/sdk:6.0
+ image: squidex/build
environment: |
CONFIG__WAIT=60
CONFIG__SERVER__URL=http://localhost:8080
default_network: host
- options: --name test
+ options: --name test1
+ volumes: ${{ github.workspace }}:/src
+ run: dotnet test /src/backend/tools/TestSuite/TestSuite.ApiTests/TestSuite.ApiTests.csproj --filter Category!=NotAutomated
+
+ - name: RUN TEST on path
+ uses: kohlerdominik/docker-run-action@v1.0.0
+ with:
+ image: squidex/build
+ environment: |
+ CONFIG__WAIT=60
+ CONFIG__SERVER__URL=http://localhost:8081/squidex
+ default_network: host
+ options: --name test2
volumes: ${{ github.workspace }}:/src
run: dotnet test /src/backend/tools/TestSuite/TestSuite.ApiTests/TestSuite.ApiTests.csproj --filter Category!=NotAutomated
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5072f5b41..5642a6ef4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -73,10 +73,15 @@ jobs:
- name: Load Image
run: docker load < squidex-tmp.tar.gz
- - name: Replace Image Name
+ - name: Replace Image Name1
uses: mikefarah/yq@v4.9.1
with:
- cmd: yq e '.services.squidex.image = "squidex-tmp"' -i backend/tests/docker-compose.yml
+ cmd: yq e '.services.squidex1.image = "squidex-tmp"' -i backend/tests/docker-compose.yml
+
+ - name: Replace Image Name2
+ uses: mikefarah/yq@v4.9.1
+ with:
+ cmd: yq e '.services.squidex2.image = "squidex-tmp"' -i backend/tests/docker-compose.yml
- name: Start Test
run: docker-compose up -d
@@ -85,12 +90,24 @@ jobs:
- name: RUN TEST
uses: kohlerdominik/docker-run-action@v1.0.0
with:
- image: mcr.microsoft.com/dotnet/sdk:6.0
+ image: squidex/build
environment: |
CONFIG__WAIT=60
CONFIG__SERVER__URL=http://localhost:8080
default_network: host
- options: --name test
+ options: --name test1
+ volumes: ${{ github.workspace }}:/src
+ run: dotnet test /src/backend/tools/TestSuite/TestSuite.ApiTests/TestSuite.ApiTests.csproj --filter Category!=NotAutomated
+
+ - name: RUN TEST on path
+ uses: kohlerdominik/docker-run-action@v1.0.0
+ with:
+ image: squidex/build
+ environment: |
+ CONFIG__WAIT=60
+ CONFIG__SERVER__URL=http://localhost:8081/squidex
+ default_network: host
+ options: --name test2
volumes: ${{ github.workspace }}:/src
run: dotnet test /src/backend/tools/TestSuite/TestSuite.ApiTests/TestSuite.ApiTests.csproj --filter Category!=NotAutomated
diff --git a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Squidex.Domain.Apps.Entities.MongoDb.csproj b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Squidex.Domain.Apps.Entities.MongoDb.csproj
index eb77d918a..a20ab3725 100644
--- a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Squidex.Domain.Apps.Entities.MongoDb.csproj
+++ b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Squidex.Domain.Apps.Entities.MongoDb.csproj
@@ -23,7 +23,7 @@
+
- @T.Get("common.logout") + @T.Get("common.logout")
\ No newline at end of file diff --git a/backend/src/Squidex/Areas/IdentityServer/Views/Account/LockedOut.cshtml b/backend/src/Squidex/Areas/IdentityServer/Views/Account/LockedOut.cshtml index d11e8d3c0..04d9f25e7 100644 --- a/backend/src/Squidex/Areas/IdentityServer/Views/Account/LockedOut.cshtml +++ b/backend/src/Squidex/Areas/IdentityServer/Views/Account/LockedOut.cshtml @@ -2,7 +2,7 @@ ViewBag.Title = T.Get("users.lockedOutTitle"); } -