19 lines
520 B
YAML
19 lines
520 B
YAML
name: CI
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
container: python:3.11-slim
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
apt-get update -qq && apt-get install -y -qq git libjpeg-dev zlib1g-dev > /dev/null
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
|
|
|
|
- name: Test
|
|
run: |
|
|
pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov
|
|
pip install --no-cache-dir -e .
|
|
pytest tests/ -v --tb=short
|