Skip to content

docs(changelog): add the TAS-Standalone section for 2.9.5 #333

docs(changelog): add the TAS-Standalone section for 2.9.5

docs(changelog): add the TAS-Standalone section for 2.9.5 #333

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
# Cancel an in-flight run when a newer commit lands on the same ref.
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv and Python
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
# Float the patch while letting setup-uv select the runner Python.
python-version: "3.14"
version: "0.11.28"
enable-cache: true
- name: Create test environment
run: uv venv
# Pure-logic tests need only the standard library plus packaging (for the
# dependency version checks). barflow is required by downloadModels via
# progressBarLogic (registry-drift tests). Pinned so the uv cache stays stable.
# The torch/cv2-backed motion-blur tests skip themselves via importorskip.
- name: Install test dependencies
run: uv pip install pytest==9.0.3 packaging==26.0 barflow==0.4.0
- name: Run unit tests
run: uv run python -m pytest tests/ -q