3535
3636 - name : Run .NET Tests
3737 id : run-dotnet-tests
38- run : dotnet test --no-build --configuration Release --blame-hang-timeout 15m --blame-hang-dump-type full -l trx --results-directory ./TestResults
38+ run : dotnet test --no-build --configuration Release --blame-hang-timeout 15m --blame-hang-dump-type full -l trx --results-directory ./TestResults --filter TestType!=Integration
3939 env :
4040 POCKETLOGGER_LOG_PATH : ${{ github.workspace }}/artifacts/logs/pocketlogger.log
4141
9393
9494 - name : Run .NET Tests
9595 id : run-dotnet-tests
96- run : dotnet test --no-build --configuration Release --blame-hang-timeout 15m --blame-hang-dump-type full -l trx --results-directory ./TestResults
96+ run : dotnet test --no-build --configuration Release --blame-hang-timeout 15m --blame-hang-dump-type full -l trx --results-directory ./TestResults --filter TestType!=Integration
9797 env :
9898 POCKETLOGGER_LOG_PATH : ${{ github.workspace }}/artifacts/logs/pocketlogger.log
9999
@@ -106,11 +106,12 @@ jobs:
106106 artifact-name : ' windows-test-playlists'
107107
108108 integration-tests :
109- # Integration tests use Playwright and are gated behind RunIntegrationTests=true.
110- # IntegrationTestFactAttribute explicitly skips these tests on Linux, so a
111- # Windows runner is required to actually execute them.
112- runs-on : windows-latest
109+ strategy :
110+ matrix :
111+ os : [windows-latest, ubuntu-latest, macos-latest]
112+ browser : [chromium, firefox, webkit]
113113
114+ runs-on : ${{ matrix.os }}
114115 steps :
115116 - uses : actions/checkout@v6
116117
@@ -122,7 +123,7 @@ jobs:
122123
123124 - name : Run .NET Integration Tests
124125 id : run-dotnet-integration-tests
125- run : dotnet test --no-build --configuration Release --blame-hang-timeout 15m --blame-hang-dump-type full -l trx --results-directory ./TestResults
126+ run : dotnet test --no-build --configuration Release --blame-hang-timeout 15m --blame-hang-dump-type full -l trx --results-directory ./TestResults --filter TestType=Integration
126127 env :
127128 RunIntegrationTests : true
128129 POCKETLOGGER_LOG_PATH : ${{ github.workspace }}/artifacts/logs/pocketlogger.log
@@ -224,8 +225,8 @@ jobs:
224225 uses : docker/login-action@v3
225226 with :
226227 registry : ${{ vars.PRODCONTAINER_REGISTRY }}
227- username : ${{ secrets.ESSENTIALCSHARP_CLIENT_ID }}
228- password : ${{ secrets.ESSENTIALCSHARP_CLIENT_SECRET }}
228+ username : ${{ secrets.ESSENTIALCSHARP_ACR_USERNAME }}
229+ password : ${{ secrets.ESSENTIALCSHARP_ACR_PASSWORD }}
229230
230231 - name : Push Image to Container Registry
231232 run : docker push --all-tags ${{ vars.PRODCONTAINER_REGISTRY }}/try
@@ -242,4 +243,4 @@ jobs:
242243 with :
243244 inlineScript : |
244245 az config set extension.use_dynamic_install=yes_without_prompt
245- az containerapp up -n $CONTAINER_APP_NAME -g $RESOURCEGROUP --image $REGISTRY_URL/try:${{ github.sha }} --environment $CONTAINER_APP_ENVIRONMENT --registry-server $REGISTRY_URL --ingress external --target-port 80 --debug
246+ az containerapp up -n $CONTAINER_APP_NAME -g $RESOURCEGROUP --image $REGISTRY_URL/try:${{ github.sha }} --environment $CONTAINER_APP_ENVIRONMENT --registry-server $REGISTRY_URL --ingress external --registry-username $ACR_USERNAME --registry-password $ACR_PASSWORD -- target-port 80 --debug
0 commit comments