Files
Henry Ruhs efbfc93753 refactor process manager (#1270)
* refactor process manager

* refactor process manager

* refactor process manager

* use httpx2 for ci
2026-11-05 18:53:47 +01:00

68 lines
1.7 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.13
uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: pip install flake8
- run: pip install flake8-import-order
- run: pip install flake8-quotes
- 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.13
uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: python install.py default --skip-conda
- run: pip install pytest
- run: pip install pytest-asyncio
- run: pip install pytest-mock
- run: pip install httpx2
- 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.13
uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: python install.py default --skip-conda
- run: pip install coveralls
- run: pip install pytest
- run: pip install pytest-cov
- run: pip install pytest-asyncio
- run: pip install pytest-mock
- run: pip install httpx2
- run: pip install python-multipart
- run: pytest tests --cov facefusion
- run: coveralls --service github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}