Skip to content

Add improved reporting for code coverage #7

Add improved reporting for code coverage

Add improved reporting for code coverage #7

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
windows:
runs-on: windows-latest
strategy:
matrix:
versions:
- 68
python-version:
- '3.12'
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install vapoursynth-portable==${{ matrix.versions }}
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Running tests
run: pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=vstools tests | tee pytest-coverage.txt
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml