🐛 fix: Handle VM shutdown gracefully during data collection #22
Workflow file for this run
This file contains hidden or 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: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11", "3.13"] | |
fail-fast: false | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
version: '0.5.24' | |
enable-cache: true | |
cache-suffix: ${{ matrix.python-version }} | |
- name: Install the app and pre-commit hooks with uv | |
run: make install | |
- name: Run gitlint | |
run: uv run gitlint | |
if: github.event_name != 'pull_request' | |
- name: Run code quality checks (pre-commit hooks and mypy) | |
run: make check | |
- name: Run tests with pytest and coverage | |
run: make test |