Skip to content

Fix bind failure when author/title contains slashes #41

Fix bind failure when author/title contains slashes

Fix bind failure when author/title contains slashes #41

Workflow file for this run

name: Test Python Application
on:
push:
branches: "**"
pull_request:
branches: [ "dev", "stable" ]
permissions:
contents: read
jobs:
lint:
name: Lint (Flake8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 flake8-bugbear flake8-docstrings flake8-import-order flake8-colors pep8-naming
- name: Lint with flake8
run: |
# Run a quick check for obvious issues python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# Now run the full flake check
flake8 . --count --statistics
test:
name: Test Python ${{ matrix.py }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
needs: lint
strategy:
fail-fast: false
matrix:
os:
- Ubuntu
- Windows
py:
- "3.12"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.py }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.py }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov .
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v3
id: setup-ffmpeg
- name: Test with pytest
run: |
pytest --cov --cov-report term-missing --cov-fail-under=100 --cov-config pyproject.toml