Files
man-card/.gitea/workflows/ci.yml
7000pctAUTO 16a4cbb4c0
Some checks failed
CI / test (push) Failing after 1s
CI / build (push) Has been skipped
CI / lint (push) Failing after 1s
Update CI workflow - minimal Gitea syntax
2026-01-31 21:51:51 +00:00

33 lines
666 B
YAML

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
python3 -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
pytest tests/ -v
lint:
runs-on: ubuntu-latest
steps:
- run: |
pip install ruff
ruff check .
build:
runs-on: ubuntu-latest
needs: test
steps:
- run: |
pip install -r requirements.txt
python -c "from man_card import cli, man_parser, card_generator, templates, config; print('All modules import successfully')"