Use HOME directory for CI
Some checks failed
CI / test (push) Failing after 1s

This commit is contained in:
2026-01-31 22:20:39 +00:00
parent 4386db5c84
commit 1c1ea4369b

View File

@@ -1,18 +1,20 @@
name: CI name: CI
on: [push, pull_request] on: [push]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: python:3.11-slim
steps: steps:
- name: Checkout code - name: Checkout
run: | run: |
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card cd $HOME
git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
cd man-card
git checkout main
- name: Install and test - name: Test
run: | run: |
cd /tmp/man-card cd $HOME/man-card
pip install --quiet click fpdf2 Pillow rich python-dotenv pytest pytest-cov pip install click fpdf2 Pillow rich python-dotenv pytest pytest-cov -q
pip install --quiet -e . pip install -e . -q
pytest tests/ -v --tb=short pytest tests/ -v