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