Skip to content

⬆️(project) upgrade python dependencies #243

⬆️(project) upgrade python dependencies

⬆️(project) upgrade python dependencies #243

Workflow file for this run

name: Quality
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
- "3.14"
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Install uv and set the python version
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install the project
run: make build
lint:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
- "3.14"
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Install uv and set the python version
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Lint with Black
run: make lint-black-check
- name: Lint with Ruff
run: make lint-ruff
- name: Lint with MyPy
run: make lint-mypy
test:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
- "3.14"
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Install VLC
run: |
sudo apt update
sudo apt install -y vlc-bin vlc-plugin-base
- name: Install uv and set the python version
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Setup the project
run: make bootstrap
- name: Test with pytest
run: |
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
make test