Skip to content

Commit c5139fb

Browse files
committed
run tests in offscreen platform
1 parent 4e34e2b commit c5139fb

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/testing_coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
# Run pytest with coverage report, saving to xml
3030
- name: Run tests on python 3.12
3131
run: |
32+
export QT_QPA_PLATFORM=offscreen
3233
pytest --cov --cov-report xml:cobertura.xml --full-trace --show-capture=no -sv -n auto tests/
3334
3435
# Take report and upload to coveralls

.github/workflows/testing_multiversion.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ jobs:
3434
3535
- name: Run tests on python ${{matrix.python-version}}
3636
run: |
37+
export QT_QPA_PLATFORM=offscreen
3738
pytest --full-trace --show-capture=no -sv -n auto tests/

0 commit comments

Comments
 (0)