Skip to content

Commit

Permalink
Try to enable testing of ncrystal-notebooks in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Aug 27, 2024
1 parent b202804 commit c8df611
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/basictest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ jobs:
echo "Custom compilation of downstream C/C++ code succeeded"
eval $(ncrystal-config --unsetup)
- name: Tests with ncrystal_setup.sh
run: |
set -eux
Expand All @@ -174,6 +172,23 @@ jobs:
python3 -c 'import NCrystal; NCrystal.test()'
. ${{github.workspace}}/install/ncrystal_unsetup.sh
- name: Checkout ncrystal-notebooks
uses: actions/checkout@v4
with:
repository: mctools/ncrystal-notebooks
path: src_notebooks

- name: Extra pip install for notebooks
run: |
set -eu
python3 -m pip install numpy matplotlib spglib ase gemmi jupyterlab ipympl
- name: Test notebooks
run: |
set -eu
eval $(${{github.workspace}}/install/bin/ncrystal-config --setup)
./src_notebooks/.github/resources/run_notebooks.x
#Final step, so tmate step can check if we got this far.
- name: Final
id: final-step
Expand Down

0 comments on commit c8df611

Please sign in to comment.