Skip to content

ruuvitag_sensor

ruuvitag_sensor #250

Workflow file for this run

name: ruuvitag_sensor
on:
push:
pull_request:
schedule:
- cron: "0 0 * * 1"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --exit-zero
- name: Pylint
run: pylint ./ruuvitag_sensor
- name: Mypy
run: mypy ./ruuvitag_sensor
- name: isort
run: isort . --diff --check-only
- name: black
run: black . --check
- name: Tests
run: pytest -v -s --show-capture all