Skip to content

Relicense under Apache License 2.0 and add NOTICE #32

Relicense under Apache License 2.0 and add NOTICE

Relicense under Apache License 2.0 and add NOTICE #32

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12"]
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install CPU dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --index-url https://download.pytorch.org/whl/cpu torch
python -m pip install Pillow aiohttp numpy scipy av pytest
- name: Run offline distribution tests
env:
NO_PROXY: "*"
run: python -m pytest tests -q --import-mode=importlib -p no:cacheprovider --confcutdir=tests
javascript:
name: JavaScript syntax
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Check shipped JavaScript syntax
shell: bash
run: |
found=0
while IFS= read -r -d '' file; do
node --check "$file"
found=1
done < <(find web -type f \( -name '*.js' -o -name '*.mjs' \) -print0)
test "$found" -eq 1
node --experimental-vm-modules tests/test_frontend_alias_compat.mjs .
node --test tests/test_wan3_frontend.mjs tests/test_wan3_halo_housing.mjs