From 58e6526cd522ec70fde44f3d28fc0c99e7e56ca1 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 22:26:12 +0000 Subject: [PATCH] Fix container syntax for Gitea Actions --- .gitea/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2d959ff..ddcadda 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,16 +4,17 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest - container: python:3.11-slim + 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 + git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /workspace - name: Install and test run: | - cd man-card + cd /workspace pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov pip install --no-cache-dir -e . pytest tests/ -v --tb=short