Use Python 3.11 container
Some checks failed
CI / test (push) Failing after 45s

This commit is contained in:
2026-01-31 22:23:00 +00:00
parent ab17aa24d9
commit 3a8d574a84

View File

@@ -4,20 +4,15 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest
container: python:3.11-bullseye
steps:
- name: Checkout
run: |
rm -rf man-card
apt-get update -qq && apt-get install -y -qq git > /dev/null
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
- name: Python check
- name: Test
run: |
which python3
python3 --version
- name: Install
run: |
pip install click fpdf2 Pillow rich pytest
- name: Run tests
run: pytest tests/ -v
pip install click fpdf2 Pillow rich pytest pytest-cov
pip install -e .
pytest tests/ -v --tb=short