Files
snippet-manager/.gitea/workflows/ci.yml
7000pctAUTO 43fc14ef7c
Some checks failed
CI / test (push) Failing after 14s
Verbose CI with import verification
2026-03-22 11:56:26 +00:00

25 lines
604 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
run: |
pip install -e .
pip install pytest pytest-asyncio
- name: Verify install
run: |
python -c "from snip.db import get_database; print('DB import OK')"
python -c "from snip.cli import cli; print('CLI import OK')"
- name: Test
run: |
pytest tests/ -v --tb=short 2>&1 | head -100