(repo renamed from 'treebeard').
What? A GitHub Action for testing notebooks, runs them from top-to-bottom
Why? To raise the quality of scientific material through better automation
Who is this for? Scientists/Developers who have written docs in notebooks and want to CI test them after every commit
Tests notebooks using nbmake via pytest.
Note: If you have some experience setting up GitHub actions already you will probably prefer the flexibility of using the nbmake pip package directly.
- uses: actions/checkout@v2 - uses: actions/setup-python@v2 - uses: "treebeardtech/[email protected]" with: path: "./examples" path-output: . notebooks: | nb1.ipynb 'sub dir/*.ipynb'
See action.yml for the parameters you can pass to this action, and see unit tests and integ tests for example invocations.
npm install
npm run all