set xvfb bit depth

This commit is contained in:
nulano 2020-11-04 13:58:33 +00:00
parent 85e991e5b6
commit d8d8a2c74d

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 }}