diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74176dc9..529081aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: - name: Install dependencies run: | sudo apt update - sudo apt-get -qq -y install imagemagick libasound2-dev pulseaudio-utils alsa-utils alsa-oss libjack0 desktop-file-utils xmlstarlet xterm xvfb icewm x11-utils x11-apps netpbm xdotool libgl1-mesa-dri libgl1-mesa-dev mesa-utils libosmesa6 libsdl1.2-dev libsdl2-2.0-0 fonts-wqy-microhei libfile-mimeinfo-perl # appstream # TODO: Cache me! + sudo apt-get -qq -y install sudo imagemagick libasound2-dev pulseaudio-utils alsa-utils alsa-oss libjack0 desktop-file-utils xmlstarlet xterm xvfb icewm x11-utils x11-apps netpbm xdotool libgl1-mesa-dri libgl1-mesa-dev mesa-utils libosmesa6 libsdl1.2-dev libsdl2-2.0-0 fonts-wqy-microhei libfile-mimeinfo-perl # appstream # TODO: Cache me! sudo bash code/prep-dummy-soundcard.sh sudo gem install dupervisor -v 1.0.5 # To convert ini to yaml files sudo npm install -g asar # to get pacakges.json from resources/app.asar for electron-builder applications @@ -38,7 +38,7 @@ jobs: echo "$FILES" ; if [ -z "$FILES" ] ; then echo "Variable FILES is empty." && exit 1 ; fi # Work on these files that have been changed in the last commit # Check if $FILES is not empty - if [ -n "$FILES" ] ; then for FILE in $FILES ; do echo "$FILE" ; bash -e code/worker.sh $(readlink -f "$FILE") ; done ; fi + if [ -n "$FILES" ] ; then for FILE in $FILES ; do echo "$FILE" ; sudo -E bash -e code/worker.sh $(readlink -f "$FILE") ; done ; fi # xpra stop :99 killall Xvfb # bundle exec jekyll build # https://help.github.com/en/articles/viewing-jekyll-build-error-messages#configuring-a-third-party-service-to-display-jekyll-build-error-messages