Massive type hints improvements + fix tests + update API #10
Workflow file for this run
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: Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test (Python ${{ matrix.python-version }}, VS ${{ matrix.vapoursynth-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| vapoursynth-version: [69, 70, 71, 72, 73] | |
| python-version: ["3.12", "3.13", "3.14"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| - name: Set up VapourSynth ${{ matrix.vapoursynth-version }} | |
| uses: Jaded-Encoding-Thaumaturgy/setup-vapoursynth@v1 | |
| with: | |
| vapoursynth-version: ${{ matrix.vapoursynth-version }} | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --all-extras --locked | |
| - name: Run tests with coverage | |
| run: uv run pytest tests --cov=vsengine --cov-report=xml | |
| - name: Upload coverage to coveralls | |
| uses: coverallsapp/[email protected] | |
| with: | |
| file: coverage.xml | |
| format: cobertura | |
| parallel: true | |
| flag-name: ${{ join(matrix.*, ' - ') }} | |
| fail-on-error: false | |
| coverage-finished: | |
| name: Coverage Finished | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Upload coverage to Coveralls (finish) | |
| uses: coverallsapp/[email protected] | |
| with: | |
| parallel-finished: true | |
| fail-on-error: false |