Skip to content

ci:windows install with winget #63

ci:windows install with winget

ci:windows install with winget #63

Workflow file for this run

name: ci
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
on:
push:
paths:
- "**.py"
- .github/workflows/ci.yml
jobs:
core:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.9', '3.x']
include:
- python-version: '3.x'
os: macos-latest
- python-version: '3.x'
os: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install .[tests,lint]
- run: flake8
- run: mypy
- name: install prereqs (Linux)
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install --no-install-recommends ffmpeg
- name: install prereqs (macOS)
if : runner.os == 'macOS'
run: brew install ffmpeg
- name: Install winget
if: runner.os == 'Windows'
uses: Cyberboss/install-winget@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: install prereqs (Windows)
if: runner.os == 'Windows'
run: winget install ffmpeg --disable-interactivity --accept-source-agreements
- run: pytest