Skip to content

feat: banner v2 (v1 kept as fallback) #12

feat: banner v2 (v1 kept as fallback)

feat: banner v2 (v1 kept as fallback) #12

Workflow file for this run

name: ProfiPrompt tests
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
workflow_dispatch:
permissions:
contents: read
jobs:
python:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
env:
QT_QPA_PLATFORM: offscreen
PYTHONIOENCODING: utf-8
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Qt runtime libraries
run: |
sudo apt-get update
sudo apt-get install -y libegl1 libgl1 libxkbcommon0 libdbus-1-3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt pytest
- name: Run Python tests
run: python -m pytest -q
- name: Compile entry points
run: python -m py_compile src/profiprompt.py src/platform_smoke.py src/pdf_exporter.py manage_translations.py translator.py
web-companion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '22'
- name: Run Web/PWA companion tests
run: node --test web_companion/tests/*.test.mjs