Merge pull request #62 from nulano/less-travis

Set XVFB bit depth
This commit is contained in:
Hugo van Kemenade 2020-11-04 16:38:32 +02:00 committed by GitHub
commit 409877d22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,9 +78,12 @@ jobs:
.ci/build.sh
- name: Test
uses: GabrielBB/xvfb-action@v1
with:
run: .ci/test.sh
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
xvfb-run -s '-screen 0 1024x768x24' .ci/test.sh
else
.ci/test.sh
fi
env:
PYTHONOPTIMIZE: ${{ matrix.PYTHONOPTIMIZE }}