From 678c5216f287d376c25a04773a499283eeca4189 Mon Sep 17 00:00:00 2001 From: Duy Luong Date: Wed, 15 Nov 2023 16:12:29 +0100 Subject: [PATCH] Update kre.yml --- .github/workflows/kre.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kre.yml b/.github/workflows/kre.yml index 3904ecc..897103d 100644 --- a/.github/workflows/kre.yml +++ b/.github/workflows/kre.yml @@ -6,8 +6,17 @@ on: branches: [ master ] jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: + - name: Configure Xvfb on runner VM (required for KRE execution on Linux) + #if: runner.os == 'Linux' + run: | + sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 + sudo /usr/bin/Xvfb :0 -screen 0 1280x1024x24 & + #run: xvfb-run -a -n 0 -s "-screen 0 1024x768x24" & + - run: | + sudo apt-get update + sudo apt-get install openjdk-8-jre - name: Checkout uses: actions/checkout@v2 - name: Katalon Studio Github Action