Skip to content
Open
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
11 changes: 10 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,20 @@ jobs:
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint with Black
id: black
continue-on-error: true
run: |
black --check matrix/ tests/ examples/
- name: Check typing with mypy
id: mypy
continue-on-error: true
run: |
mypy matrix
- name: Test with pytest
id: pytest
continue-on-error: true
run: |
pytest -v
pytest -v --cov=matrix --cov-report=term-missing --cov-fail-under=90
- name: All checks succeeded
if: steps.black.outcome == 'failure' || steps.mypy.outcome == 'failure' || steps.pytest.outcome == 'failure'
run: exit 1
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies = [
[project.optional-dependencies]
dev = [
"pytest==9.1.1",
"pytest-cov==7.1.0",
"pytest-asyncio==1.4.0",
"black==26.5.1",
"mypy==2.1.0",
Expand Down
Loading