Skip to content

Fix for Slot Time Entries in HA (issue:#190) #50

Fix for Slot Time Entries in HA (issue:#190)

Fix for Slot Time Entries in HA (issue:#190) #50

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff
- name: Lint with ruff
run: ruff check grobro/ tests/
- name: Run tests
run: python -m pytest tests/ -v --cov=grobro --cov-report=term-missing --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
files: ./coverage.xml
fail_ci_if_error: false