MAHOUT-468 & MAHOUT-469 Add parameter object and bind at execution #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI for Jupyter Notebooks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-notebooks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install nbconvert nbclient ipykernel | |
pip install -e . | |
- name: Run Jupyter Notebooks | |
run: | | |
for notebook in $(find . -name '*.ipynb'); do | |
echo "Executing $notebook" | |
jupyter nbconvert --to notebook --execute --inplace $notebook | |
done |