Skip to content

Commit

Permalink
Merge pull request #34 from ctgk/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ctgk authored Oct 3, 2021
2 parents 9e7fad7 + e3792c7 commit 8f8270c
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 47 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/run-notebooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will install Python dependencies, run full checks defined in `.pre-commit-config.yaml` with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Jupyter Notebooks

on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]

jobs:
jupyter-notebooks:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install packages
run: pip install .[develop]
- name: Run Jupyter notebooks
run: for note in `ls notebooks/*.ipynb`; do jupyter nbconvert --to html --execute $note; if [ $? != 0 ]; then echo $note; exit 1; fi; done
52 changes: 31 additions & 21 deletions notebooks/ch05_Neural_Networks.ipynb

Large diffs are not rendered by default.

29 changes: 19 additions & 10 deletions notebooks/ch08_Graphical_Models.ipynb

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions notebooks/ch09_Mixture_Models_and_EM.ipynb

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions notebooks/ch12_Continuous_Latent_Variables.ipynb

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

[options.extras_require]
develop =
jupyter
matplotlib
scikit-learn

pre-commit

# format
Expand Down

0 comments on commit 8f8270c

Please sign in to comment.