Use actions/checkout and setup-python
Some checks failed
CI / test (push) Failing after 8s

This commit is contained in:
2026-01-31 22:21:50 +00:00
parent 624eb80ff0
commit b2c04eae44

View File

@@ -6,11 +6,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
run: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card uses: actions/checkout@v4
with:
repository: 7000pctAUTO/man-card
token: ${{ secrets.GITEA_TOKEN }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install and test - name: Install and test
run: | run: |
cd /tmp/man-card pip install -e .
pip install --no-cache-dir click fpdf2 Pillow rich python-dotenv pytest pytest-cov 2>&1 | tail -5 pip install pytest
pip install --no-cache-dir -e . 2>&1 | tail -3 pytest tests/ -v
pytest tests/ -v 2>&1