We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ed48f commit 5b1ca4bCopy full SHA for 5b1ca4b
1 file changed
.github/workflows/test.yml
@@ -57,7 +57,7 @@ jobs:
57
if: matrix.os == 'ubuntu-latest'
58
run: |
59
sudo apt-get update
60
- sudo apt-get install -y chromium-browser chromium-chromedriver
+ sudo apt-get install -y chromium-browser chromium-chromedriver xvfb
61
62
- name: Install browser for testing (macOS)
63
if: matrix.os == 'macos-latest'
@@ -69,6 +69,12 @@ jobs:
69
70
choco install chromium chromedriver
71
72
+ - name: Start virtual display (Ubuntu)
73
+ if: matrix.os == 'ubuntu-latest'
74
+ run: |
75
+ export DISPLAY=:99
76
+ Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
77
+
78
- name: Run browser tests
79
80
pytest tests/test_dash_callbacks.py tests/test_dash_integration.py
0 commit comments