Skip to content

Commit 56118bd

Browse files
committed
ci: investigate flaky device tests on android 36
1 parent 934ee4e commit 56118bd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/device-tests-android.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
pull_request:
99
paths-ignore:
1010
- "**.md"
11+
workflow_dispatch:
1112

1213
jobs:
1314
build:
@@ -99,7 +100,7 @@ jobs:
99100
disk-size: 4096M
100101
emulator-options: -no-snapshot-save -no-window -accel on -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
101102
disable-animations: false
102-
script: pwsh scripts/device-test.ps1 android -Run -Tfm ${{ matrix.tfm }}
103+
script: pwsh scripts/device-test.ps1 android -Run -Tfm ${{ matrix.tfm }} -Verbose
103104

104105
- name: Upload results
105106
if: success() || failure()

.github/workflows/device-tests-ios.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
pull_request:
99
paths-ignore:
1010
- "**.md"
11+
workflow_dispatch:
1112

1213
jobs:
1314
ios-tests:

scripts/device-test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ try
8686
{
8787
if (!(Get-Command xharness -ErrorAction SilentlyContinue))
8888
{
89-
Push-Location ($CI ? $env:RUNNER_TEMP : $IsWindows ? $env:TMP : $IsMacos ? $env:TMPDIR : '/temp')
89+
Push-Location ($CI ? $env:RUNNER_TEMP : $IsWindows ? $env:TMP : $IsMacos ? $env:TMPDIR : '/tmp')
9090
dotnet tool install Microsoft.DotNet.XHarness.CLI --global --version '10.0.0-prerelease.25412.1' `
9191
--add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json
9292
Pop-Location

0 commit comments

Comments
 (0)