19 lines
498 B
YAML
19 lines
498 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
container: python:3.11-slim
|
|
steps:
|
|
- name: Checkout code
|
|
run: |
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card
|
|
|
|
- name: Install and test
|
|
run: |
|
|
cd /tmp/man-card
|
|
pip install --quiet click fpdf2 Pillow rich python-dotenv pytest pytest-cov
|
|
pip install --quiet -e .
|
|
pytest tests/ -v --tb=short
|