diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..0c6abd4 --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,23 @@ +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