Skip to content

Commit cb258db

Browse files
committed
Fix Notebook Execution RuntimeError
1 parent ac25035 commit cb258db

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/colab.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,10 @@ 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
6156
- name: Execute notebook
62-
run: jupyter nbconvert --to notebook --execute --log-level=DEBUG --ExecutePreprocessor.kernel_name=python3 --output output-${{ matrix.notebook_path }} colab/${{ matrix.notebook_path }}
57+
run: |
58+
python -m pip install asyncio
59+
jupyter nbconvert --to notebook --execute --log-level=DEBUG --ExecutePreprocessor.kernel_name=python3 --output output-${{ matrix.notebook_path }} colab/${{ matrix.notebook_path }}
6360
- name: Upload colab results
6461
uses: actions/upload-artifact@v4
6562
with:

0 commit comments

Comments
 (0)