Skip to content

Basics of HPC

Basics of HPC #97

---
name: Test Jarvis Notebooks
on: [push, pull_request]
jobs:
nix:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v2.4.0
- 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"