Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
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
37 changes: 8 additions & 29 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
python-version: "3.13"
cache: "pip"
cache-dependency-path: pyproject.toml

Expand All @@ -37,7 +37,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
python-version: "3.13"
cache: "pip"
cache-dependency-path: pyproject.toml

Expand All @@ -52,17 +52,20 @@ jobs:
- name: darglint docstring validation
run: darglint src --strictness=short --ignore-raise=ValueError

tests-jax-latest:
tests:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: ["3.10", "3.13"]
timeout-minutes: 8
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: pyproject.toml

Expand All @@ -74,27 +77,3 @@ jobs:
- name: Run Python tests
run: |
pytest --cov=invrs_opt tests

tests-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: pyproject.toml

- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"

- name: Run Python tests
run: |
pytest --cov=invrs_opt tests