[CI > Test] Try using xvfb to run
This commit is contained in:
parent
762ca6a224
commit
b2e2aa12a2
1 changed files with 5 additions and 6 deletions
11
.github/workflows/test_startup.yml
vendored
11
.github/workflows/test_startup.yml
vendored
|
@ -37,12 +37,11 @@ jobs:
|
||||||
tar xf discord.tar.gz
|
tar xf discord.tar.gz
|
||||||
cp app.asar DiscordCanary/resources/app.asar
|
cp app.asar DiscordCanary/resources/app.asar
|
||||||
|
|
||||||
- name: Check if Discord will startup
|
- name: Setup running deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install xorg
|
sudo apt install xvfb
|
||||||
echo "allowed_users=anybody" > /etc/X11/Xwrapper.config
|
- name: Check if Discord will startup
|
||||||
startx
|
run: |
|
||||||
xhost local:
|
xvfb-run ./DiscordCanary/DiscordCanary --enable-logging
|
||||||
DISPLAY=:0 ./DiscordCanary/DiscordCanary --enable-logging
|
|
||||||
# node scripts/testStartup.js ./DiscordCanary/DiscordCanary
|
# node scripts/testStartup.js ./DiscordCanary/DiscordCanary
|
Loading…
Reference in a new issue