Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Sep 20, 2024
1 parent 643d9a7 commit 3fe004d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ jobs:
# If using pytest-cov, you can also add the `--cov-append` flag
# directly or through PYTEST_ADD_OPTS.
- name: List files
run: ls

- name: Store coverage file
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ set_env =
COVERAGE_PROCESS_START = pyproject.toml
commands =
python -m pytest --cov=subliminal --cov-report= --cov-fail-under=0 {posargs:-n auto}
coverage combine
coverage report --skip-covered --show-missing --fail-under=80


Expand All @@ -62,6 +63,7 @@ commands =
--ignore=tests/refiners --ignore=tests/providers \
--cov=subliminal --cov-report= --cov-fail-under=0 \
{posargs:-n auto}
coverage combine
coverage report \
--omit='subliminal/cli.py,subliminal/converters/*,subliminal/providers/*,subliminal/refiners/*' \
--skip-covered --show-missing --fail-under=100
Expand Down

0 comments on commit 3fe004d

Please sign in to comment.