Skip to content

Commit

Permalink
Multi OS in CI (#808)
Browse files Browse the repository at this point in the history
* Run CI on multi OS

* Run CI on multi OS

* Run CI on multi OS

* Run CI on multi OS

* Run CI on multi OS
  • Loading branch information
henryruhs committed Aug 2, 2023
1 parent 0f36751 commit 14fc562
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
- run: flake8 run.py roop
- run: mypy run.py roop
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -28,6 +31,11 @@ jobs:
with:
python-version: 3.9
- run: pip install -r requirements-ci.txt
- run: python run.py -s=.github/examples/source.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4
- run: python run.py -s .github/examples/source.jpg -t .github/examples/target.mp4 -o .github/examples/output.mp4
if: matrix.os != 'windows-latest'
- run: python run.py -s .github\examples\source.jpg -t .github\examples\target.mp4 -o .github\examples\output.mp4
if: matrix.os == 'windows-latest'
- run: ffmpeg -i .github/examples/snapshot.mp4 -i .github/examples/output.mp4 -filter_complex psnr -f null -

if: matrix.os != 'windows-latest'
- run: ffmpeg -i .github\examples\snapshot.mp4 -i .github\examples\output.mp4 -filter_complex psnr -f null -
if: matrix.os == 'windows-latest'

0 comments on commit 14fc562

Please sign in to comment.