Use sudo for apt-get
Some checks failed
CI / test (push) Failing after 8s

This commit is contained in:
2026-01-31 22:28:01 +00:00
parent 7b5da68494
commit d32865929f

View File

@@ -6,17 +6,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
run: | run: 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 /tmp/man-card
- name: Install system deps - name: Install system deps
run: | run: |
apt-get update -qq sudo apt-get update -qq
apt-get install -y -qq libjpeg-dev zlib1g-dev > /dev/null sudo apt-get install -y libjpeg-dev zlib1g-dev
- name: Install and test - name: Install and test
run: | run: |
cd /tmp/man-card cd /tmp/man-card
pip install click fpdf2 Pillow rich pytest pytest-cov pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov
pip install -e . pip install --no-cache-dir -e .
pytest tests/ -v --tb=short pytest tests/ -v --tb=short