Skip to content

Commit ac25035

Browse files
committed
Fix Xvfb Initialization
1 parent 5ba0670 commit ac25035

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/colab.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
python -m pip install --progress-bar=off -e ./ml-agents-envs
5454
python -m pip install --progress-bar=off -e ./ml-agents
5555
python -m pip install --progress-bar=off -r colab_requirements.txt
56+
- name: Start Xvfb
57+
run: |
58+
sudo apt-get install xvfb
59+
Xvfb :99 -screen 0 1024x768x16 &
60+
export DISPLAY=:99
5661
- name: Execute notebook
5762
run: jupyter nbconvert --to notebook --execute --log-level=DEBUG --ExecutePreprocessor.kernel_name=python3 --output output-${{ matrix.notebook_path }} colab/${{ matrix.notebook_path }}
5863
- name: Upload colab results

0 commit comments

Comments
 (0)