Files
facefusion/.github/workflows/ci.yml
T
henryruhsandClaude Opus 4.8 be89f03b27 Merge branch 'master' into v4
Resolve 57 conflicts keeping v4's architecture (UI removal, api app
context, path isolation, streaming/codecs/rtc, workflow-mode superset,
args_helper) and taking master's post-fork features so none are dropped:
inference override/adjust provider hooks (+ face_swapper 3.8.1 coreml
fix), is_vision_frame validity guards, resolve_temp_frame_set frame
numbering with the source audio/voice trim offset, the ffmpeg color
pipeline (restrict_color_transfer / convert_color_space / temp_pixel_format),
ffprobe select_stream v:0 + format duration, pre_check ffprobe with
dependency_not_installed, onnxruntime arena-leak guard + version lru_cache,
installer cuda@12/@13 provider split, workflow_strategy disk/memory
(memory default), and the dependency version bumps. content_analyser hash
guard rehashed to 3c6ce25e.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V7MdZEmd1GE8uSDTMyq34r
2026-08-05 22:12:54 +02:00

65 lines
1.6 KiB
YAML

name: ci
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install flake8
- run: pip install flake8-import-order
- run: pip install mypy
- run: flake8 facefusion.py install.py
- run: flake8 facefusion tests
- run: mypy facefusion.py install.py
- run: mypy facefusion tests
test:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up FFmpeg
uses: AnimMouse/setup-ffmpeg@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python install.py default --skip-conda
- run: pip install pytest
- run: pip install pytest-mock
- run: pip install httpx
- run: pip install python-multipart
- run: pytest
report:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up FFmpeg
uses: AnimMouse/setup-ffmpeg@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python install.py default --skip-conda
- run: pip install coveralls
- run: pip install pytest
- run: pip install pytest-cov
- run: pip install pytest-mock
- run: pip install httpx
- run: pip install python-multipart
- run: pytest tests --cov facefusion
- run: coveralls --service github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}