Skip to content

Commit

Permalink
[CI] Use uv in examples workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fjosw committed Jan 9, 2025
1 parent 80fb314 commit 03036a3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v5

- name: Install
run: |
sudo apt-get update
sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended cm-super
python -m pip install --upgrade pip
pip install wheel
pip install .
pip install pytest
pip install nbmake
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 wheel
uv pip install .
uv pip install pytest nbmake
uv pip install -U matplotlib!=3.7.0 # Exclude version 3.7.0 of matplotlib as this breaks local imports of style files.
- name: Run tests
run: pytest -vv --nbmake examples/*.ipynb

0 comments on commit 03036a3

Please sign in to comment.