diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 683dab25..975b376f 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -25,22 +25,6 @@ jobs: python-version-file: .python-version-default - uses: pre-commit/action@v3.0.1 - 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: @@ -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 diff --git a/tox.ini b/tox.ini index 11415617..7d417f64 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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