Skip to content

Commit f273524

Browse files
committed
debug: set display env var
1 parent 767376d commit f273524

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/android-regression.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ jobs:
140140
- name: Setup for both platforms
141141
uses: ./github/actions/setup
142142

143+
- name: Set display (debug)
144+
run: echo "DISPLAY=:0" >> $GITHUB_ENV
145+
143146
- name: Restart adb server
144147
shell: bash
145148
continue-on-error: true # just so we don't fail if adb wasn't already running
@@ -162,15 +165,15 @@ jobs:
162165
RISK: ${{ github.event.inputs.RISK }}
163166

164167
- name: Debug environment
165-
run: |
166-
echo "PWD: $(pwd)"
167-
echo "USER: $USER"
168-
echo "DISPLAY: $DISPLAY"
169-
echo "PATH: $PATH"
170-
env | grep -E "(ANDROID|JAVA|APPIUM)" | sort
171-
ps aux | grep emulator || true
172-
free -h
173-
cat /proc/loadavg
168+
run: |
169+
echo "PWD: $(pwd)"
170+
echo "USER: $USER"
171+
echo "DISPLAY: $DISPLAY"
172+
echo "PATH: $PATH"
173+
env | grep -E "(ANDROID|JAVA|APPIUM)" | sort
174+
ps aux | grep emulator || true
175+
free -h
176+
cat /proc/loadavg
174177
175178
- name: Run the 1-devices tests ​​with 4 workers
176179
continue-on-error: true

0 commit comments

Comments
 (0)