Skip to content

Commit 6744550

Browse files
authored
Update ci.yml
1 parent ef048b2 commit 6744550

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,16 @@ jobs:
236236
shell: pwsh
237237
run: Start-Process -FilePath "$env:WINAPPDRIVER_EXE86_PATH"
238238

239-
- 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"
239+
# Integration tests became moody lately. Retry 3 times.
240+
- uses: nick-fields/retry@v3
241+
with:
242+
timeout_minutes: 15
243+
max_attempts: 3
244+
shell: pwsh
245+
command: |
246+
dotnet test `
247+
$env:AUTOMATED_TESTS_ASSEMBLY_DIR\**\Files.InteractionTests.dll `
248+
--logger "trx;LogFileName=$env:AUTOMATED_TESTS_ASSEMBLY_DIR\testResults.trx"
244249
245250
# - name: Generate markdown from the tests result
246251
# shell: pwsh

0 commit comments

Comments
 (0)