Skip to content

feat: complete config flow UX overhaul with grouped sport/league sele… #2264

feat: complete config flow UX overhaul with grouped sport/league sele…

feat: complete config flow UX overhaul with grouped sport/league sele… #2264

Workflow file for this run

name: Pytest
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
strategy:
matrix:
python-version: ['3.11', '3.12', '3.13']
steps:
- name: Checkout Repository
uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade -r requirements_test.txt pytest-cov
- name: Generate coverage report
run: |
pytest ./tests/ --asyncio-mode=auto --cov=custom_components/teamtracker/ --cov-report=xml
- name: Upload coverage to Codecov
if: env.CODECOV_TOKEN != ''
uses: codecov/codecov-action@v5