Skip to content

fix: Relax mypy type checking for v0.1.0 #7

fix: Relax mypy type checking for v0.1.0

fix: Relax mypy type checking for v0.1.0 #7

Workflow file for this run

name: Tests
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "latest"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync
uv pip install -e .
- name: Run tests with pytest
run: |
uv run pytest --cov=radar_plotter --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run type checking
run: |
uv run mypy src/
- name: Run linting
run: |
uv run ruff check .