Files
man-card/.gitea/workflows/ci.yml
7000pctAUTO a55ba766b0
Some checks failed
CI / test (push) Failing after 9s
Fix CI workflow - use native Gitea Actions syntax
2026-01-31 22:17:39 +00:00

31 lines
775 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
run: |
git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card
cd /tmp/man-card
git checkout main
- name: Set up Python
run: |
cd /tmp/man-card
apt-get update -qq
apt-get install -y -qq python3 python3-pip python3-venv > /dev/null 2>&1
python3 --version
- name: Install dependencies
run: |
cd /tmp/man-card
pip install -q -e .
pip install -q pytest pytest-cov
- name: Run tests
run: |
cd /tmp/man-card
pytest tests/ -v --cov=man_card --cov-report=term-missing