Skip to content

Commit

Permalink
Try to fix notebooks CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Feb 2, 2025
1 parent baf49df commit 29372c0
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/test_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,29 @@ jobs:
python-version: ${{ matrix.python }}
allow-prereleases: true #Needed (Aug 2024) for Python 3.13.

- name: Pip install ncrystal
run: python3 -m pip install ./src_ncrystal/
- name: ncdevtool checks
run: ./src_ncrystal/devel/bin/ncdevtool check -n fixme

- name: Pip install ncrystal-core
run: python3 -m pip install ./src_ncrystal/ncrystal_core

- name: Pip install ncrystal-python
run: python3 -m pip install ./src_ncrystal/ncrystal_python

- name: Pip install ncrystal metapkg
run: python3 -m pip install ./src_ncrystal/ncrystal_metapkg

- name: Checkout ncrystal-notebooks
uses: actions/checkout@v4
with:
repository: mctools/ncrystal-notebooks
path: src_notebooks

- name: Extra pip install for notebooks
#Pin ASE due to https://gitlab.com/ase/ase/-/issues/1597 breaking 3.24
run: python3 -m pip install numpy matplotlib spglib ase==3.23.0 gemmi jupyterlab ipympl
- name: Pip install jupyterlab ipympl
run: python3 -m pip install jupyterlab ipympl

- name: Pip install optional ncrystal dependencies
run: python3 -m pip install -r ./src_ncrystal/devel/reqs/requirement_all.txt

- name: Test notebooks
run: ./src_notebooks/.github/resources/run_notebooks.x
Expand Down

0 comments on commit 29372c0

Please sign in to comment.