diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index b8220691..5a92d430 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -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