Skip to content

Commit

Permalink
Merge pull request #62 from nulano/less-travis
Browse files Browse the repository at this point in the history
Set XVFB bit depth
  • Loading branch information
hugovk committed Nov 4, 2020
2 parents 85e991e + d8d8a2c commit 409877d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 409877d

Please sign in to comment.