Skip to content

update changelogs

update changelogs #581

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
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 flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics --exclude=tests,debian,docs,xdg,videomass/data --per-file-ignores="videomass/gui_app.py:F401"
# exit-zero treats all errors as warnings. The GitHub editor is 79 chars wide
flake8 . --count --exit-zero --max-complexity=15 --max-line-length=79 --ignore=F821,W503,C901 --statistics --exclude=tests,debian,docs,xdg,videomass/data --per-file-ignores="videomass/gui_app.py:F401"
- name: Test with pytest
run: |
python3 tests/test_check_bin.py
python3 tests/test_ffprobe.py
python3 tests/test_utils.py