This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: CI
|
||||
on: [push]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -11,15 +11,9 @@ jobs:
|
||||
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: Debug
|
||||
run: |
|
||||
cd man-card
|
||||
ls -la
|
||||
cat requirements.txt
|
||||
|
||||
- name: Test
|
||||
- name: Install and test
|
||||
run: |
|
||||
cd man-card
|
||||
pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov
|
||||
python -c "import man_card; print('Import OK')"
|
||||
pytest tests/test_cli.py -v --tb=long 2>&1 | head -100
|
||||
pip install --no-cache-dir -e .
|
||||
pytest tests/ -v --tb=short
|
||||
|
||||
Reference in New Issue
Block a user