summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Müller <elias.mr1@gmail.com>2022-07-09 19:17:23 +0200
committerjaseg <136313+jaseg@users.noreply.github.com>2022-07-11 12:44:47 +0200
commitfcd2c354ae879b3351a244dde87426fd38558640 (patch)
treec5fea777037c69f75221cd2902a41e0650493ba7
parentd027abcc3a1c193b661f24ba9ba3fde4889b9478 (diff)
downloadpython-mpv-fcd2c354ae879b3351a244dde87426fd38558640.tar.gz
python-mpv-fcd2c354ae879b3351a244dde87426fd38558640.tar.bz2
python-mpv-fcd2c354ae879b3351a244dde87426fd38558640.zip
Use xvfb-run to run tests
-rw-r--r--.github/workflows/tests.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 5d61529..5dfcb58 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -49,5 +49,5 @@ jobs:
- name: 'Run Python Tests'
run: |
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
- source venv/bin/activate
- execute python -m pytest
+ execute source venv/bin/activate
+ execute xvfb-run python -m pytest