Improve shutdown handling (#48) #123
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: pytest | |
on: | |
pull_request: | |
branches: [ "master" ] | |
push: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "**/requirements*.txt" | |
- name: Run pytest | |
run: | | |
uv venv --python 3.12 | |
uv pip sync requirements.txt requirements-dev.txt | |
source .venv/bin/activate | |
pytest --cov=src --cov-report=term-missing tests |