Skip to content

Commit 4628a65

Browse files
Merge pull request #840 from pybop-team/25.11
Release v25.11
2 parents c11f068 + 2b3369a commit 4628a65

File tree

156 files changed

+3378
-10357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+3378
-10357
lines changed

.all-contributorsrc

Lines changed: 0 additions & 179 deletions
This file was deleted.

.github/workflows/lychee_links.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Restore lychee cache
2121
uses: actions/cache@v4
@@ -24,8 +24,8 @@ jobs:
2424
key: cache-lychee-${{ github.sha }}
2525
restore-keys: cache-lychee-
2626

27-
- name: Set up Lychee
28-
uses: lycheeverse/lychee-action@v1.10.0
27+
- name: Run lychee
28+
uses: lycheeverse/lychee-action@v2
2929
with:
3030
args: >-
3131
--cache

.github/workflows/nightly_dependency_tests.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Nightly dependencies at develop
22

33
on:
44
workflow_dispatch:
5+
6+
# run every weekday at 03:15 UTC
57
schedule:
6-
- cron: "0 23 * * 1"
8+
- cron: "15 3 * * 1-5"
79

810
concurrency:
911
# github.workflow: name of the workflow, so that we don't cancel other workflows
@@ -20,7 +22,7 @@ jobs:
2022
matrix:
2123
os: [ubuntu-latest, macos-14]
2224
python-version: ["3.12"]
23-
suite: ["unit", "integration", "examples"]
25+
suite: ["unit", "integration", "examples", "notebooks"]
2426

2527
name: Test-${{ matrix.os }}-py-${{ matrix.python-version }}-${{ matrix.suite }})
2628

@@ -44,5 +46,7 @@ jobs:
4446
elif [[ "${{ matrix.suite }}" == "integration" ]]; then
4547
python -m pytest --integration
4648
elif [[ "${{ matrix.suite }}" == "examples" ]]; then
47-
python -m pytest --nbmake --examples
49+
python -m pytest --examples
50+
elif [[ "${{ matrix.suite }}" == "notebooks" ]]; then
51+
python -m pytest --notebooks --nbmake --nbmake-timeout=1000 examples/
4852
fi

.github/workflows/scheduled_tests.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66
branches:
77
- main
88

9-
# runs every day at 03:00 UTC
9+
# run every Monday at 03:45 UTC
1010
schedule:
11-
- cron: '0 3 * * *'
11+
- cron: '45 3 * * 1'
1212

1313
# Check noxfile.py for associated environment variables
1414
env:
@@ -98,9 +98,12 @@ jobs:
9898
- name: Integration tests with nox
9999
run: python -m nox -s integration
100100

101-
- name: Run examples with nox
101+
- name: Run example scripts with nox
102102
run: python -m nox -s examples
103103

104+
- name: Run example notebooks with nox
105+
run: python -m nox -s notebooks
106+
104107
# M-series Mac Mini
105108
build-apple-mseries:
106109
# This job filters the matrix JSON created in build_matrix.sh to provide
@@ -139,6 +142,7 @@ jobs:
139142
python -m nox -s unit
140143
python -m nox -s integration
141144
python -m nox -s examples
145+
python -m nox -s notebooks
142146
143147
- name: Uninstall pyenv-virtualenv & python
144148
if: always()

.github/workflows/test_on_pull_request.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65-
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
65+
os: [ubuntu-latest, windows-latest, macos-15-intel, macos-14]
6666
python-version: ["3.10", "3.11", "3.12"]
6767
exclude: # We run the coverage tests on macos-14 with Python 3.12
6868
- os: macos-14
@@ -84,7 +84,7 @@ jobs:
8484
run: |
8585
nox -s unit
8686
87-
example_tests:
87+
example_scripts:
8888
needs: style
8989
runs-on: ${{ matrix.os }}
9090
strategy:
@@ -109,20 +109,23 @@ jobs:
109109
run: |
110110
nox -s examples
111111
112-
# Notebooks on macos-14
113112
example_notebooks:
114113
needs: style
115-
runs-on: macos-14
114+
runs-on: ${{ matrix.os }}
116115
strategy:
117116
fail-fast: false
118-
name: Test notebooks (macos-14 / Python 3.12)
117+
matrix:
118+
os: [macos-14]
119+
python-version: ["3.12"]
120+
121+
name: Test notebooks (${{ matrix.os }} / Python ${{ matrix.python-version }})
119122

120123
steps:
121124
- uses: actions/checkout@v4
122-
- name: Set up Python 3.12
125+
- name: Set up Python ${{ matrix.python-version }}
123126
uses: actions/setup-python@v4
124127
with:
125-
python-version: 3.12
128+
python-version: ${{ matrix.python-version }}
126129
- name: Install dependencies
127130
run: |
128131
python -m pip install --upgrade pip nox[uv] openpyxl ipywidgets

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/astral-sh/ruff-pre-commit
8-
rev: "v0.13.3"
8+
rev: "v0.14.3"
99
hooks:
1010
- id: ruff
1111
args: [--fix, --show-fixes]

0 commit comments

Comments
 (0)