[CI] Add system install for examples workflow

This commit is contained in:
Fabian Joswig 2025-01-09 10:00:33 +01:00
parent b7c8a6ab95
commit af474d5d42

View file

@ -34,10 +34,10 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended cm-super sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended cm-super
uv pip install wheel uv pip install wheel --system
uv pip install . uv pip install . --system
uv pip install pytest nbmake uv pip install pytest nbmake --system
uv pip install -U matplotlib!=3.7.0 # Exclude version 3.7.0 of matplotlib as this breaks local imports of style files. uv pip install -U matplotlib!=3.7.0 --system # Exclude version 3.7.0 of matplotlib as this breaks local imports of style files.
- name: Run tests - name: Run tests
run: pytest -vv --nbmake examples/*.ipynb run: pytest -vv --nbmake examples/*.ipynb