workaround: disable pylint error: HtmlFrame has no member on_link_cli… #76
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: coverage | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| sudo apt install python3-tk -y | |
| python -m pip install --upgrade pip | |
| pip install pytest pylint coverage | |
| pip install -r requirements.txt | |
| - name: Generate coverage | |
| run: | | |
| coverage run | |
| - name: Generate JSON coverage report | |
| run: | | |
| coverage json | |
| - name: Check coverage threshold | |
| run: | | |
| ./check_coverage.py |