Skip to content

github: add a new workflow for tests. #1

github: add a new workflow for tests.

github: add a new workflow for tests. #1

Workflow file for this run

name: "Test package with pytest"
on: [push, pull_request, workflow_dispatch]
jobs:
pytest:
name: "Run tests"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: "Install testing dependendies"
run: make install-testing
- name: "Test the package"
run: pytest --cov=aio_ld2410 -v -s
- name: "Generate a coverage report"
run: coverage report --show-missing
if: success() || failure()