Files
man-card/.gitea/workflows/ci.yml
7000pctAUTO d32865929f
Some checks failed
CI / test (push) Failing after 8s
Use sudo for apt-get
2026-01-31 22:28:01 +00:00

22 lines
590 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card
- name: Install system deps
run: |
sudo apt-get update -qq
sudo apt-get install -y libjpeg-dev zlib1g-dev
- name: Install and test
run: |
cd /tmp/man-card
pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov
pip install --no-cache-dir -e .
pytest tests/ -v --tb=short