From 3e6db8b16d8ffc8cb8af312559fbfcc7d99a18e3 Mon Sep 17 00:00:00 2001 From: David Anyatonwu Date: Mon, 26 Aug 2024 17:43:24 +0100 Subject: [PATCH] fix Signed-off-by: David Anyatonwu --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9418ec8f4..987447e27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,9 +165,12 @@ jobs: - name: Set up virtual display and audio (Ubuntu) if: matrix.os == 'ubuntu-latest' run: | - sudo apt-get install -y xvfb pulseaudio ffmpeg imagemagick xdotool + sudo apt-get update + sudo apt-get install -y xvfb pulseaudio ffmpeg imagemagick xdotool x11-xserver-utils metacity Xvfb :99 -ac -screen 0 1024x768x24 & echo "DISPLAY=:99" >> $GITHUB_ENV + sleep 2 + metacity --sm-disable --replace 2> metacity.err & pulseaudio --start pacmd load-module module-null-sink sink_name=virtual_speaker pacmd load-module module-virtual-source source_name=virtual_mic master=virtual_speaker.monitor @@ -227,6 +230,8 @@ jobs: fi done echo "Health check failed after 4 minutes" + echo "Metacity error log:" + cat metacity.err exit 1 - name: Run CLI and check health (Windows)