From 7873897022d830e67884c01d910ee3e3c4bc342e Mon Sep 17 00:00:00 2001 From: Paul Lin Yao Date: Thu, 28 Sep 2023 14:37:41 -0400 Subject: [PATCH] In Browser Unit Test --- .github/workflows/tests-in-browser.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests-in-browser.yml b/.github/workflows/tests-in-browser.yml index 95d10f8..ff9ec24 100644 --- a/.github/workflows/tests-in-browser.yml +++ b/.github/workflows/tests-in-browser.yml @@ -275,25 +275,25 @@ jobs: # Testing -- Call into Marketplace Rest Api (call from runner)` - name: T_001__Tests - Calling RectApi - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost/api" run: dotnet test -e "MARKETPLACE_URL1=http://localhost/api" ${{env.TEST3_PROJECT_FQDN}} - name: T_002__Tests - Calling RectApi - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost:80/api" run: dotnet test -e "MARKETPLACE_URL1=http://localhost:80/api" ${{env.TEST3_PROJECT_FQDN}} - name: T_003__Tests - Calling RectApi - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost:5000/api" run: dotnet test -e "MARKETPLACE_URL1=http://localhost:5000/api" ${{env.TEST3_PROJECT_FQDN}} - name: T_004__Tests - Calling RectApi - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost:5001/api" run: dotnet test -e "MARKETPLACE_URL1=http://localhost:5001/api" ${{env.TEST3_PROJECT_FQDN}} @@ -301,23 +301,23 @@ jobs: # Testing -- Call into Marketplace Rest Api (call from inside container ) - name: T__010__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost/api" run: docker exec -i CESMII.Marketplace.API dotnet test -e "MARKETPLACE_URL1=http://localhost/api" ${{env.TEST3_PROJECT_ABSOLUTE}} - name: T__011__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost:80/api" run: docker exec -i CESMII.Marketplace.API dotnet test -e "MARKETPLACE_URL1=http://localhost:80/api" ${{env.TEST3_PROJECT_ABSOLUTE}} - name: T__012__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost:5000/api" run: docker exec -i CESMII.Marketplace.API dotnet test -e "MARKETPLACE_URL1=http://localhost:5000/api" ${{env.TEST3_PROJECT_ABSOLUTE}} - name: T__013__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "http://localhost:5001/api" run: docker exec -i CESMII.Marketplace.API dotnet test -e "MARKETPLACE_URL1=http://localhost:5001/api" ${{env.TEST3_PROJECT_ABSOLUTE}} @@ -325,23 +325,23 @@ jobs: # Testing -- Call into Marketplace Rest Api using bridge IP address from inside container - name: T__1010__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "${{ env.MARKETPLACE_BRIDGE_CONNECTION}}/api" run: docker exec -i CESMII.Marketplace.API dotnet test ${{env.TEST3_PROJECT_ABSOLUTE}} - name: T__1011__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "${{ env.MARKETPLACE_BRIDGE_CONNECTION}}:80/api" run: docker exec -i CESMII.Marketplace.API dotnet test ${{env.TEST3_PROJECT_ABSOLUTE}} - name: T__1012__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "${{ env.MARKETPLACE_BRIDGE_CONNECTION}}:5000/api" run: docker exec -i CESMII.Marketplace.API dotnet test ${{env.TEST3_PROJECT_ABSOLUTE}} - name: T__1013__Tests - Access to RectApi inside container (On Desktop) - if: true + if: always() env: MARKETPLACE_URL1: "${{ env.MARKETPLACE_BRIDGE_CONNECTION}}:5001/api" run: docker exec -i CESMII.Marketplace.API dotnet test ${{env.TEST3_PROJECT_ABSOLUTE}}