Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
with:
python-version-file: pyproject.toml
- name: Check types with ty
run: |
uv run --group typing ty check
run: uv run --group typing ty check

test:
runs-on: ubuntu-latest
Expand All @@ -54,10 +53,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install test dependencies
run: uv sync --python ${{ matrix.python-version }} --group test --resolution ${{ matrix.dependency-resolution }}
- name: Test with pytest
run: uv run pytest --cov=frontx --cov-report xml
run: >
uv run
--python ${{ matrix.python-version }}
--group test
--resolution ${{ matrix.dependency-resolution }}
pytest --cov=frontx --cov-report xml
- name: Upload code coverage results to Codecov
uses: codecov/codecov-action@v7
with:
Expand Down
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ classifiers = [
requires-python = ">=3.12"
dependencies = [
"diffrax>=0.7.2,<0.8",
"equinox>=0.12.1,<0.14",
"interpax>=0.3.13,<0.4",
"jax>=0.8,<0.12",
"numpy>=2.4.1,<3",
"optax>=0.2.4,<0.3",
"optimistix>=0.0.10,<0.2",
"parametrix>=0.1.4,<0.2",
"scipy>=1.16.1,<2",
"equinox>=0.13.8,<0.14",
"interpax>=0.3.14,<0.4",
"jax>=0.10.2,<0.11",
"numpy>=2.4.6,<3",
"optax>=0.2.8,<0.3",
"optimistix>=0.1,<0.2",
"parametrix>=0.1.7,<0.2",
"scipy>=1.18.1,<2",
]

[project.optional-dependencies]
Expand All @@ -48,10 +48,10 @@ examples = ["frontx[examples]"]
lint = ["ruff>=0.16.5,<0.17"]
typing = [
{include-group = "examples"},
"ty>=0.0.76,<0.1"
"ty>=0.0.77,<0.1"
]
test = [
"fronts>=1,<2",
"fronts>=1.2.12,<2",
"pytest>=9,<10",
"pytest-cov>=7,<8",
]
Expand Down
Loading