Skip to content

Merge pull request #46 from knc6/master #82

Merge pull request #46 from knc6/master

Merge pull request #46 from knc6/master #82

---
name: Test Jarvis Notebooks
on: [push, pull_request]
jobs:
nix:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-shell --pure --command "py.test --nbval jarvis-tools-notebooks/AIMS2022_Python_Basics.ipynb"
- run: nix-shell --pure --command "nbqa black --check jarvis-tools-notebooks/AIMS2022_Python_Basics.ipynb"
- run: nix-shell --pure --command "nbqa pylint jarvis-tools-notebooks/AIMS2022_Python_Basics.ipynb"