Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: David Anyatonwu <[email protected]>
  • Loading branch information
onyedikachi-david committed Aug 26, 2024
1 parent 843e20b commit 3e6db8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3e6db8b

Please sign in to comment.