mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
[CI] Use uv in examples workflow
This commit is contained in:
parent
80fb314c24
commit
03036a33fd
1 changed files with 5 additions and 6 deletions
11
.github/workflows/examples.yml
vendored
11
.github/workflows/examples.yml
vendored
|
@ -27,17 +27,16 @@ jobs:
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
uses: astral-sh/setup-uv@v5
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
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
|
||||||
python -m pip install --upgrade pip
|
uv pip install wheel
|
||||||
pip install wheel
|
uv pip install .
|
||||||
pip install .
|
uv pip install pytest nbmake
|
||||||
pip install pytest
|
uv pip install -U matplotlib!=3.7.0 # Exclude version 3.7.0 of matplotlib as this breaks local imports of style files.
|
||||||
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.
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest -vv --nbmake examples/*.ipynb
|
run: pytest -vv --nbmake examples/*.ipynb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue