From d32865929f99a2d5da429d8624ea2eede64d38e7 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 22:28:01 +0000 Subject: [PATCH] Use sudo for apt-get --- .gitea/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 17acf71..cd515da 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,17 +6,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - run: | - git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card + run: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card - name: Install system deps run: | - apt-get update -qq - apt-get install -y -qq libjpeg-dev zlib1g-dev > /dev/null + sudo apt-get update -qq + sudo apt-get install -y libjpeg-dev zlib1g-dev - name: Install and test run: | cd /tmp/man-card - pip install click fpdf2 Pillow rich pytest pytest-cov - pip install -e . + pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov + pip install --no-cache-dir -e . pytest tests/ -v --tb=short