Skip to content

installing ir

installing ir #189

Workflow file for this run

name: Test Notebooks
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
test-notebooks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Check - Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter nbformat nbconvert
sudo apt install libssl-dev libcurl4-openssl-dev unixodbc-dev libxml2-dev libmariadb-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev
r
install.packages('IRkernel')
IRkernel::installspec()
jupyter kernelspec list
- name: Execute Notebooks
run: |
find tutorials/notebooks/* -name '*.ipynb' -exec jupyter nbconvert --to notebook --execute --kernel ir {} +
- name: Check for errors
run: |
if [ $? -ne 0 ]; then
echo "Notebook execution failed."
exit 1
fi