Let's get started with pytest
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -14,8 +14,8 @@ jobs:
|
||||
python-version: '3.10'
|
||||
- run: pip install flake8
|
||||
- run: pip install mypy
|
||||
- run: flake8 run.py facefusion
|
||||
- run: mypy run.py facefusion
|
||||
- run: flake8 run.py facefusion tests
|
||||
- run: mypy run.py facefusion tests
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -31,13 +31,4 @@ jobs:
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- run: pip install -r requirements-ci.txt
|
||||
- run: curl --create-dirs --output .assets/examples/source.jpg https://github.com/facefusion/facefusion-assets/releases/download/examples/source.jpg
|
||||
- run: curl --create-dirs --output .assets/examples/target-240p.mp4 https://github.com/facefusion/facefusion-assets/releases/download/examples/target-240p.mp4
|
||||
- run: python run.py --source .assets/examples/source.jpg --target .assets/examples/target-240p.mp4 --output .assets/examples --trim-frame-end 30
|
||||
if: matrix.os != 'windows-latest'
|
||||
- run: python run.py --source .assets\examples\source.jpg --target .assets\examples\target-240p.mp4 --output .assets\examples --trim-frame-end 30
|
||||
if: matrix.os == 'windows-latest'
|
||||
- run: ffprobe -show_format -show_streams .assets/examples/source-target-240p.mp4
|
||||
if: matrix.os != 'windows-latest'
|
||||
- run: ffprobe -show_format -show_streams .assets\examples\source-target-240p.mp4
|
||||
if: matrix.os == 'windows-latest'
|
||||
- run: pytest
|
||||
|
||||
Reference in New Issue
Block a user