From c41a560c4dd2f7401d45b62847b277183b5ffddf Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 10 Mar 2020 10:14:52 +0100 Subject: [PATCH] Set 1024x768 for xvfb --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 438460045718..3573f068e9ad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -193,7 +193,7 @@ jobs: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} - name: Update test coverage metrics - run: xvfb-run --auto-servernum ./gradlew jacocoTestReport && bash <(curl -s https://codecov.io/bash); + run: xvfb-run --server-args="-screen 0 1024x768x24" --auto-servernum ./gradlew jacocoTestReport && bash <(curl -s https://codecov.io/bash); env: CI: "false" # we pretend to run locally - even if tests fail on the CI, they count towards test coverage CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}