Skip to content

Commit f75cbab

Browse files
greateggsgregfilmor
authored andcommitted
Add temporary Mono-step diagnostics on Linux/macOS to locate the x64-ubuntu hang
1 parent 1130f6a commit f75cbab

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,19 @@ jobs:
112112
run: pytest --runtime coreclr
113113

114114
- name: Python Tests (Mono)
115-
if: always()
115+
if: ${{ always() && matrix.os.category == 'windows' }}
116+
run: pytest --runtime mono
117+
118+
- name: Python Tests (Mono, with diagnostics)
116119
# Bound the recurring x64-ubuntu Mono hang so partial logs are flushed
117120
# before kill; local runs take ~40s, give ourselves 8x.
121+
# Skipped on Windows where the default shell is pwsh.
122+
if: ${{ always() && matrix.os.category != 'windows' }}
118123
timeout-minutes: 6
119124
run: |
120125
set -x
121126
echo "[mono-step] entering pytest" && date
122-
stdbuf -oL -eL python -u -m pytest -v --runtime mono
127+
python -u -m pytest -v --runtime mono
123128
echo "[mono-step] pytest exited" && date
124129
125130
- name: Python Tests (.NET Framework)

0 commit comments

Comments
 (0)