Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
98ea338
Validate output of R distance function to ensure a single numeric val…
arrjon Dec 23, 2025
00b1c7b
Update pyabc/external/r/r_rpy2.py
arrjon Dec 23, 2025
8947f51
Update CI configuration and dependencies for improved compatibility a…
arrjon Feb 16, 2026
afdc37c
fix doc
arrjon Feb 16, 2026
59806b7
fix doc
arrjon Feb 16, 2026
4086e99
fix deps
arrjon Feb 16, 2026
706dac4
fix deps
arrjon Feb 16, 2026
a6ef2bd
add ruff
arrjon Feb 17, 2026
cb65563
add ruff
arrjon Feb 17, 2026
3ada847
fix ruff
arrjon Feb 17, 2026
1561837
fix ruff
arrjon Feb 17, 2026
50972b2
fix petab
arrjon Feb 17, 2026
9be546b
fix tox
arrjon Feb 17, 2026
53a8278
fix petab test
arrjon Feb 17, 2026
fce4603
update ci
arrjon Feb 17, 2026
a84bbbe
update r dep
arrjon Feb 17, 2026
e508c82
update r dep
arrjon Feb 17, 2026
8f611d1
update r dep
arrjon Feb 17, 2026
3110041
update r dep
arrjon Feb 17, 2026
aab8774
update r dep
arrjon Feb 17, 2026
c91152c
update r dep
arrjon Feb 17, 2026
b26c569
update r dep
arrjon Feb 17, 2026
23901c5
update r dep
arrjon Feb 17, 2026
d2fc5d5
update warnings
arrjon Feb 17, 2026
1030c3e
fix subprocess
arrjon Feb 17, 2026
10d9767
fix r2py
arrjon Feb 17, 2026
22a673d
fix r2py conversion [skip ci]
arrjon Feb 17, 2026
a38c504
fix r2py conversion
arrjon Feb 17, 2026
34e0493
fix petab.v1
arrjon Feb 17, 2026
e7c633d
fix petab.v1
arrjon Feb 17, 2026
f76b207
update toml file
arrjon Feb 17, 2026
1b7aae0
update notebooks
arrjon Feb 17, 2026
29dce1b
remove petabtests
arrjon Feb 17, 2026
3e382e8
remove petabtests
arrjon Feb 17, 2026
3079b89
fix tox
arrjon Feb 17, 2026
d5df51d
update amici dep
arrjon Feb 17, 2026
5180a24
update amici dep
arrjon Feb 17, 2026
f161f16
update amici dep
arrjon Feb 17, 2026
c55d7b2
update notebooks
arrjon Feb 17, 2026
98db9b7
update notebooks 2
arrjon Feb 17, 2026
f606155
annotations in inference_util
arrjon Feb 17, 2026
19a8a67
fix notebooks 2 deps
arrjon Feb 17, 2026
80cbf77
fix notebooks 2 deps
arrjon Feb 17, 2026
a1e3793
fix notebooks 2 deps
arrjon Feb 17, 2026
205d3c3
fix notebooks 2 julia
arrjon Feb 17, 2026
d724e68
fix notebooks 2 julia
arrjon Feb 17, 2026
c8b9d95
fix notebooks 2 julia
arrjon Feb 18, 2026
65e031c
fix notebooks 2 julia
arrjon Feb 18, 2026
625938e
fix notebooks 2 julia
arrjon Feb 18, 2026
891384c
fix notebooks 2 julia
arrjon Feb 18, 2026
716ac3a
check worker health before blocking on queue retrieval
arrjon Feb 18, 2026
437eee7
update distributed for python3.12
arrjon Feb 18, 2026
fcb137a
fix dask for python3.12
arrjon Feb 18, 2026
95f5a26
remove fix dask for python3.12
arrjon Feb 18, 2026
47d3542
fix python3.12 test
arrjon Feb 18, 2026
9dcdde4
fix python3.12 test
arrjon Feb 18, 2026
0193fe6
fix doc contact details [skip ci]
arrjon Feb 18, 2026
85d2f2f
Merge branch 'main' into develop
arrjon Feb 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .flake8

This file was deleted.

327 changes: 84 additions & 243 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,263 +1,104 @@
name: CI

# trigger
on:
push:
branches:
- main
- develop
branches: [main, develop]
pull_request:
schedule:
# run Monday at 03:18 UTC
- cron: '18 15 * * MON'
- cron: "18 15 * * MON"

jobs:

base:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12', '3.11', '3.10']

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ci-${{ runner.os }}-${{ matrix.python-version }}-base

- name: Install dependencies
run: .github/workflows/install_deps.sh base R

- name: Run tests
timeout-minutes: 15
run: tox -e base

- name: Run visualization tests
timeout-minutes: 3
run: tox -e visualization

- name: Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml

external:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install julia
uses: julia-actions/setup-julia@v1
with:
version: 1.7

- name: Cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ci-${{ runner.os }}-${{ matrix.python-version }}-external

- name: Install dependencies
run: .github/workflows/install_deps.sh base R

- name: Run tests
timeout-minutes: 15
run: tox -e external

- name: Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml

petab:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ci-${{ runner.os }}-${{ matrix.python-version }}-petab

- name: Install dependencies
run: .github/workflows/install_deps.sh amici

- name: Run tests
timeout-minutes: 20
run: |
tox -e petab

- name: Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml

mac:
runs-on: macos-latest
tests:
name: ${{ matrix.toxenv }} (${{ matrix.python }} • ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ['3.11']
include:
# Fast PR matrix
- os: ubuntu-latest
python: "3.13"
toxenv: base
#- os: ubuntu-latest
# python: "3.12"
# toxenv: base
- os: ubuntu-latest
python: "3.11"
toxenv: base
- os: ubuntu-latest
python: "3.10"
toxenv: base
- os: ubuntu-latest
python: "3.11"
toxenv: visualization

# macOS sanity
- os: macos-latest
python: "3.11"
toxenv: mac

# Quality
- os: ubuntu-latest
python: "3.11"
toxenv: quality
- os: ubuntu-latest
python: "3.11"
toxenv: project
- os: ubuntu-latest
python: "3.11"
toxenv: doc
- os: ubuntu-latest
python: "3.11"
toxenv: migrate

- os: ubuntu-latest
python: "3.11"
toxenv: external-R
- os: ubuntu-latest
python: "3.11"
toxenv: external-other-simulators
- os: ubuntu-latest
python: "3.11"
toxenv: petab
- os: ubuntu-latest
python: "3.11"
toxenv: base-notebooks
- os: ubuntu-latest
python: "3.11"
toxenv: external-notebooks

steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python }}
cache: pip

- name: Cache
uses: actions/cache@v4
- name: Install Julia
if: ${{ startsWith(matrix.toxenv, 'external-') }}
uses: julia-actions/setup-julia@v2
with:
path: ~/Library/Caches/pip
key: ci-${{ runner.os }}-${{ matrix.python-version }}-mac
version: "1.11"

- name: Install dependencies
run: .github/workflows/install_deps.sh

- name: Run tests
timeout-minutes: 10
run: tox -e mac

- name: Coverage
uses: codecov/codecov-action@v2
run: |
case "${{ matrix.toxenv }}" in
base|visualization|mac|base-notebooks) .github/workflows/install_deps.sh base R ;;
petab) .github/workflows/install_deps.sh amici ;;
external-*) .github/workflows/install_deps.sh base R amici ;;
lint|project|doc|migrate) .github/workflows/install_deps.sh doc ;;
esac
python -m pip install -U pip tox

- name: Run tox
run: tox -e ${{ matrix.toxenv }}

# If each tox env generates coverage.xml, include flags; otherwise combine explicitly
- name: Upload coverage
if: ${{ always() && matrix.os == 'ubuntu-latest' }} # optional
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml

notebooks1:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ci-${{ runner.os }}-${{ matrix.python-version }}-notebooks1

- name: Install dependencies
run: .github/workflows/install_deps.sh

- name: Run notebooks
timeout-minutes: 15
run: tox -e notebooks1

notebooks2:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ci-${{ runner.os }}-${{ matrix.python-version }}-notebooks2

- name: Install dependencies
run: .github/workflows/install_deps.sh R amici

- name: Run notebooks
timeout-minutes: 15
run: tox -e notebooks2

quality:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ci-${{ runner.os }}-${{ matrix.python-version }}-quality

- name: Install dependencies
run: |
.github/workflows/install_deps.sh doc
pip install tox
pip install pypandoc
python .github/workflows/generate_readme_rst.py


- name: Run quality checks
timeout-minutes: 5
run: tox -e project,flake8

- name: Build docs
timeout-minutes: 5
run: tox -e doc

- name: Test migration
timeout-minutes: 5
run: tox -e migrate

- name: Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
files: ./coverage.xml
flags: ${{ matrix.toxenv }}
Loading
Loading