File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,17 @@ jobs:
236236 shell : pwsh
237237 run : Start-Process -FilePath "$env:WINAPPDRIVER_EXE86_PATH"
238238
239+ # Retry integration tests if first attempt fails
239240 - name : Run interaction tests
240- run : |
241- dotnet test `
242- $env:AUTOMATED_TESTS_ASSEMBLY_DIR\**\Files.InteractionTests.dll `
243- --logger "trx;LogFileName=$env:AUTOMATED_TESTS_ASSEMBLY_DIR\testResults.trx"
241+ uses : nick-fields/retry@v3
242+ with :
243+ timeout_minutes : 15
244+ max_attempts : 2
245+ shell : pwsh
246+ command : |
247+ dotnet test `
248+ $env:AUTOMATED_TESTS_ASSEMBLY_DIR\**\Files.InteractionTests.dll `
249+ --logger "trx;LogFileName=$env:AUTOMATED_TESTS_ASSEMBLY_DIR\testResults.trx"
244250
245251 # - name: Generate markdown from the tests result
246252 # shell: pwsh
You can’t perform that action at this time.
0 commit comments