Files
confgen/.gitea/workflows/ci.yml
7000pctAUTO 9726d9e443
All checks were successful
CI / test (push) Successful in 6s
Debug and run tests
2026-02-01 21:14:47 +00:00

28 lines
682 B
YAML

name: CI
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli
- name: Debug directory
run: |
pwd
ls -la
ls -la tests/ 2>/dev/null || echo "No tests directory"
- name: Run tests
run: |
if [ -d "tests" ]; then
pytest tests/ -v --tb=short || exit 1
else
echo "No tests found"
exit 0
fi