From 210000a0f491b503525635a30655f5c73308d479 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 22:25:27 +0000 Subject: [PATCH] Final working CI workflow --- .gitea/workflows/ci.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 93e3f7d..2d959ff 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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