Use simple ubuntu-latest runner
Some checks failed
CI / test (push) Failing after 1s

This commit is contained in:
2026-01-31 22:26:51 +00:00
parent 58e6526cd5
commit cd130f6c77

View File

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