mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 03:53:41 +02:00
Merge branch 'develop' into feat/typehints
This commit is contained in:
commit
6d80efd388
15 changed files with 156 additions and 93 deletions
12
.github/workflows/examples.yml
vendored
12
.github/workflows/examples.yml
vendored
|
@ -27,17 +27,17 @@ jobs:
|
|||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: uv
|
||||
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 --system
|
||||
uv pip install . --system
|
||||
uv pip install pytest nbmake --system
|
||||
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
|
||||
run: pytest -vv --nbmake examples/*.ipynb
|
||||
|
|
21
.github/workflows/pytest.yml
vendored
21
.github/workflows/pytest.yml
vendored
|
@ -20,7 +20,9 @@ jobs:
|
|||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
include:
|
||||
- os: macos-latest
|
||||
python-version: "3.10"
|
||||
python-version: "3.12"
|
||||
- os: ubuntu-24.04-arm
|
||||
python-version: "3.12"
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
|
@ -30,18 +32,15 @@ jobs:
|
|||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install wheel
|
||||
pip install .
|
||||
pip install pytest
|
||||
pip install pytest-cov
|
||||
pip install pytest-benchmark
|
||||
pip install hypothesis
|
||||
pip install typing_extensions
|
||||
pip freeze
|
||||
uv pip install wheel --system
|
||||
uv pip install . --system
|
||||
uv pip install pytest pytest-cov pytest-benchmark hypothesis typing_extensions --system
|
||||
uv pip freeze --system
|
||||
|
||||
- name: Run tests
|
||||
run: pytest --cov=pyerrors -vv
|
||||
run: pytest --cov=pyerrors -vv -Werror
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue