CoolFace
Apppublic

navonapp/face_swap_api

sourceHugging Faceupdated 1y agoView on Hugging Face
1likes
ci.yml59 linesDownload Raw Back to workflows
1name: ci2 3on: [ push, pull_request ]4 5jobs:6 lint:7  runs-on: ubuntu-latest8  steps:9  - name: Checkout10    uses: actions/checkout@v411  - name: Set up Python 3.1212    uses: actions/setup-python@v513    with:14     python-version: '3.12'15  - run: pip install flake816  - run: pip install flake8-import-order17  - run: pip install mypy18  - run: flake8 facefusion.py install.py19  - run: flake8 facefusion tests20  - run: mypy facefusion.py install.py21  - run: mypy facefusion tests22 test:23  strategy:24   matrix:25    os: [ macos-latest, ubuntu-latest, windows-latest ]26  runs-on: ${{ matrix.os }}27  steps:28  - name: Checkout29    uses: actions/checkout@v430  - name: Set up FFmpeg31    uses: AnimMouse/setup-ffmpeg@v132  - name: Set up Python 3.1233    uses: actions/setup-python@v534    with:35     python-version: '3.12'36  - run: python install.py --onnxruntime default --skip-conda37  - run: pip install pytest38  - run: pytest39 report:40  needs: test41  runs-on: ubuntu-latest42  steps:43  - name: Checkout44    uses: actions/checkout@v445  - name: Set up FFmpeg46    uses: FedericoCarboni/setup-ffmpeg@v347  - name: Set up Python 3.1248    uses: actions/setup-python@v549    with:50     python-version: '3.12'51  - run: python install.py --onnxruntime default --skip-conda52  - run: pip install coveralls53  - run: pip install pytest54  - run: pip install pytest-cov55  - run: pytest tests --cov facefusion56  - run: coveralls --service github57    env:58     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}59