Skip to content

Commit c41a560

Browse files
committed
Set 1024x768 for xvfb
1 parent cbf583a commit c41a560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
path: ~/.gradle/wrapper
194194
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
195195
- name: Update test coverage metrics
196-
run: xvfb-run --auto-servernum ./gradlew jacocoTestReport && bash <(curl -s https://codecov.io/bash);
196+
run: xvfb-run --server-args="-screen 0 1024x768x24" --auto-servernum ./gradlew jacocoTestReport && bash <(curl -s https://codecov.io/bash);
197197
env:
198198
CI: "false" # we pretend to run locally - even if tests fail on the CI, they count towards test coverage
199199
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)