Redesign README with hero banner, feature grid, collapsibles #189
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Unit tests + syntax checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r worker/requirements-capture.txt | |
| pip install aiohttp>=3.9.0 | |
| pip install pytest pytest-cov | |
| - name: Python syntax check (all .py files) | |
| run: find . -name '*.py' -not -path './.git/*' -exec python -m py_compile {} + | |
| - name: Run tests + coverage | |
| run: | | |
| pytest -q \ | |
| --cov=custom_components/gaming_assistant \ | |
| --cov-report=term-missing \ | |
| --cov-fail-under=45 |