Skip to content

Update static_ffmpeg command with -y flag for overwrite confirmation #650

Update static_ffmpeg command with -y flag for overwrite confirmation

Update static_ffmpeg command with -y flag for overwrite confirmation #650

Workflow file for this run

name: Win_Tests
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.11.3]
os: [windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
python -m pip install pytest
- name: Print device
run: Get-CimInstance Win32_SoundDevice | fl *
- name: Install Scream
shell: powershell
run: |
Start-Service audio*
Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/3.6/Scream3.6.zip -OutFile C:\Scream3.6.zip
Expand-Archive -Path C:\Scream3.6.zip -DestinationPath C:\Scream
$cert = (Get-AuthenticodeSignature C:\Scream\Install\driver\Scream.sys).SignerCertificate
$store = [System.Security.Cryptography.X509Certificates.X509Store]::new("TrustedPublisher", "LocalMachine")
$store.Open("ReadWrite")
$store.Add($cert)
$store.Close()
cd C:\Scream\Install\driver
C:\Scream\Install\helpers\devcon install Scream.inf *Scream
- name: Print Audio Device
run: Get-CimInstance Win32_SoundDevice | fl *
- name: Run Test
run: |
pytest tests