Files
man-card/.gitea/workflows/ci.yml
7000pctAUTO f60b62db7e
Some checks failed
CI / test (push) Failing after 1s
CI / build (push) Has been skipped
CI / lint (push) Failing after 1s
Fix CI workflow - use absolute paths
2026-01-31 21:53:42 +00:00

36 lines
732 B
YAML

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