21 lines
460 B
YAML
21 lines
460 B
YAML
name: CI
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
cd $HOME
|
|
git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
|
|
cd man-card
|
|
git checkout main
|
|
|
|
- name: Test
|
|
run: |
|
|
cd $HOME/man-card
|
|
pip install click fpdf2 Pillow rich python-dotenv pytest pytest-cov -q
|
|
pip install -e . -q
|
|
pytest tests/ -v
|