Skip to content

fix temp dir cleanup, fixes #284 #249

fix temp dir cleanup, fixes #284

fix temp dir cleanup, fixes #284 #249

name: Test Package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install ffmpeg
run: |
sudo apt update
sudo apt install ffmpeg
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements.dev.txt
pip install .
- name: Type check with mypy
run: |
mypy ffmpeg_normalize
- name: Test with pytest
run: |
pytest test/test.py