Skip to content

Commit

Permalink
reorganize
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Sep 20, 2024
1 parent 3fe004d commit 0451c6c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,6 @@ jobs:
python-version-file: .python-version-default
- uses: pre-commit/[email protected]

install-dev:
name: Verify dev env
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version-file: .python-version-default
cache: pip

- name: Install in dev mode & import
run: |
python -Im pip install -e .[dev]
python -Ic 'import subliminal; print(subliminal.__version__)'
typing:
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -76,6 +60,22 @@ jobs:
name: docs
path: docs/_build/

install-dev:
name: Verify install env
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version-file: .python-version-default
cache: pip

- name: Install in dev mode & import
run: |
python -Im pip install -e .[dev]
python -Ic 'import subliminal; print(subliminal.__version__)'
build-package:
name: Build & verify package
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ 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 @@ -63,7 +62,6 @@ 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 0451c6c

Please sign in to comment.