Basics of HPC #111
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: 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" |