Skip to content

Add support for reading the co2 value from meter pro #295

Add support for reading the co2 value from meter pro

Add support for reading the co2 value from meter pro #295

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt .
- uses: pre-commit/[email protected]
- name: Tests
run: pytest --cov=switchbot --cov-report=term-missing --cov-report=xml tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3