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
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@ jobs:
- run: make dev
- run: make test

examples:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- run: make dev
- run: make exampletest

format:
runs-on: ubuntu-latest
strategy:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ typecheck:
$(PYTHON) -m mypy src tests

unittest:
$(PYTHON) -m pytest
$(PYTHON) -m pytest tests

exampletest:
$(PYTHON) -m pytest examples

coverage: typecheck
coverage run -m unittest discover
Expand Down
1 change: 0 additions & 1 deletion tests/examples

This file was deleted.