refactor: use internal stgpytools
#10
This file contains 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: Test Python code | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "LICENSE" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "LICENSE" | |
workflow_dispatch: | |
jobs: | |
windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
vs-versions: ["68"] | |
python-version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
- name: Running tests | |
run: pytest --cov-report=term-missing:skip-covered --cov=vstools tests | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/[email protected] | |
unix: | |
strategy: | |
matrix: | |
os-version: ["ubuntu-22.04", "macos-14"] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
#python-version: ["3.12"] | |
runs-on: ${{ matrix.os-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup vapoursynth | |
uses: deadnews/[email protected] # R70 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
- name: Running tests | |
run: pytest --cov-report=term-missing:skip-covered --cov=vstools tests | |
continue-on-error: true |