tested device removal #11
This file contains 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.12 | |
- 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 | |
- run: | | |
coverage run --branch --omit=./test/* -m unittest discover -s ./test -p test_*.py | |
coverage report --fail-under=100 |