Fix config flow rate limit issue with Desktop API validation #118
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: Run Coverage Test | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| - release/* | |
| paths-ignore: | |
| - docs/* | |
| - "*.md" | |
| pull_request: | |
| jobs: | |
| Coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.13 | |
| - run: | | |
| python -m pip install --upgrade pip | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi | |
| export PYTHONPATH=$(pwd) | |
| - run: | | |
| coverage run --branch --omit=./test/* -m unittest discover -s ./test -p test_*.py | |
| coverage report --fail-under=70 |