23 lines
476 B
YAML
23 lines
476 B
YAML
name: Tests
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: python
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -e .
|
|
pip install pytest
|
|
|
|
- name: Run tests
|
|
run: python -m pytest tests/ -v --tb=short
|
|
|
|
- name: Smoke test CLI
|
|
run: |
|
|
cortex version
|
|
cortex triage score "test task"
|
|
cortex hygiene stats
|
|
cortex roadmap overdue
|