From 9d154b34e60cba60cd2b7a562361f8a85bb120f7 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 10 Mar 2020 10:50:36 +0100 Subject: [PATCH] Fix xvfb-run arguments --- .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 3573f068e9a..580c0020a8c 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 --server-args="-screen 0 1024x768x24" --auto-servernum ./gradlew jacocoTestReport && bash <(curl -s https://codecov.io/bash); + run: xvfb-run --server-args=":1 -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 }}