diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ddcadda..fdda5e0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,17 +4,14 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest - container: - image: python:3.11-slim steps: - name: Checkout run: | - 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 /workspace + git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card - name: Install and test run: | - cd /workspace - pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov - pip install --no-cache-dir -e . + cd /tmp/man-card + pip install click fpdf2 Pillow rich pytest pytest-cov + pip install -e . pytest tests/ -v --tb=short