Skip to content

Commit 64b69e8

Browse files
committed
Make sure e2e fail if no tests were run.
1 parent 38d2206 commit 64b69e8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.azure/pipelines/components-e2e-tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ jobs:
5858
displayName: Build JS
5959
- script: .dotnet/dotnet build ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-restore
6060
displayName: Build
61-
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter 'Quarantined!=true|Quarantined=false' /bl:$(Build.SourcesDirectory)/artifacts/TestResults/$(BuildConfiguration)/Unquarantined/e2e.binlog
62-
-p:VsTestUseMSBuildOutput=false
63-
--logger:"trx%3BLogFileName=Microsoft.AspNetCore.Components.E2ETests.trx"
64-
--logger:"html%3BLogFileName=Microsoft.AspNetCore.Components.E2ETests.html"
65-
--results-directory $(Build.SourcesDirectory)/artifacts/TestResults/$(BuildConfiguration)/Unquarantined
61+
- script: ./eng/scripts/run-unquarantined-e2e-tests.sh $(BuildConfiguration) $(Build.SourcesDirectory)
6662
displayName: Run E2E tests
6763
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter 'Quarantined=true' -p:RunQuarantinedTests=true
6864
-p:VsTestUseMSBuildOutput=false

0 commit comments

Comments
 (0)