Implement snapshot testing via CLI part3

This commit is contained in:
henryruhs 2023-06-01 10:44:29 +02:00
parent ba69a18387
commit 5cda83822c
4 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 537 KiB

After

Width:  |  Height:  |  Size: 537 KiB

View File

@ -28,5 +28,5 @@ jobs:
- run: pip install -r requirements.txt - run: pip install -r requirements.txt
- run: pip install gdown - run: pip install gdown
- run: gdown 14JzEMo8ScLinvBkl7QEvYvFEi7EBXNAt - run: gdown 14JzEMo8ScLinvBkl7QEvYvFEi7EBXNAt
- run: ./run.py -f=examples/face.jpg -t=examples/target.mp4 -o=examples/output.mp4 - run: ./run.py -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4
- run: diff examples/snapshot.mp4 examples/output.mp4 || exit 1 - run: diff .github/examples/snapshot.mp4 .github/examples/output.mp4 || exit 1