24 lines
467 B
YAML
24 lines
467 B
YAML
name: CI
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
rm -rf man-card
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
|
|
|
|
- name: Python check
|
|
run: |
|
|
which python3
|
|
python3 --version
|
|
|
|
- name: Install
|
|
run: |
|
|
pip install click fpdf2 Pillow rich pytest
|
|
|
|
- name: Run tests
|
|
run: pytest tests/ -v
|