Skip to content

Commit ea903f8

Browse files
authored
Update main.yml
1 parent 41b2eb6 commit ea903f8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,22 @@ jobs:
329329
--contents notebooks/smallpt.ipynb \
330330
--contents notebooks/images/marie.png \
331331
--contents notebooks/audio/audio.wav &
332+
if [[ "${os}" == "macos"* ]]; then
333+
brew install coreutils
334+
fi
332335
python -m pip install nbdime
333336
python -m pip install selenium
334337
python scripts/automated-notebook-run-script.py --driver chrome
335338
nbdiff notebooks/smallpt.ipynb $HOME/smallpt.ipynb
339+
rm $HOME/smallpt.ipynb
340+
python scripts/automated-notebook-run-script.py --driver firefox
341+
nbdiff notebooks/smallpt.ipynb $HOME/smallpt.ipynb
342+
rm $HOME/smallpt.ipynb
343+
if [[ "${os}" == "macos"* ]]; then
344+
python scripts/automated-notebook-run-script.py --driver safari
345+
nbdiff notebooks/smallpt.ipynb $HOME/smallpt.ipynb
346+
rm $HOME/smallpt.ipynb
347+
fi
336348
timeout-minutes: 5
337349

338350
- name: Setup tmate session

0 commit comments

Comments
 (0)