Improve coverage integration #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Test", | |
"on": { | |
"workflow_dispatch": {}, | |
"pull_request": {} | |
}, | |
"jobs": { | |
"build": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ | |
"uses": "actions/checkout@v4" | |
}, | |
{ | |
"name": "Set up Python", | |
"uses": "actions/setup-python@v4", | |
"with": { | |
"python-version": "3.12" | |
} | |
}, | |
{ | |
"name": "Install dependencies", | |
"run": "python -m pip install --upgrade pip\npip install -r requirements-dev.txt\npip install -e ." | |
}, | |
{ | |
"name": "Check format", | |
"run": "python -m ruff format --check ." | |
}, | |
{ | |
"name": "Check lints", | |
"run": "python -m ruff check ." | |
}, | |
{ | |
"name": "Tests", | |
"run": "python -m pytest" | |
}, | |
{ | |
"name": "Integration tests", | |
"run": "python -m pytest --nbval-lax --nbval-current-env Example.ipynb tests/Test*.ipynb" | |
} | |
] | |
} | |
} | |
} |