Files
man-card/.gitea/workflows/ci.yml
7000pctAUTO c1de944a6d
Some checks failed
CI / test (push) Failing after 1s
Simplified CI workflow
2026-01-31 22:12:56 +00:00

28 lines
635 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
pwd
ls -la
- name: Install dependencies
run: |
pip3 install click fpdf2 Pillow rich python-dotenv pytest pytest-cov
- name: List files
run: |
ls -la man_card/ 2>/dev/null || ls -la */ 2>/dev/null || ls -la
- name: Run tests if tests dir exists
run: |
if [ -d tests ]; then
pytest tests -v
elif [ -d */tests ]; then
pytest */tests -v
else
echo "No tests directory found"
fi