From 34942079f1e00ac6c408601a66ac6757a239c6c4 Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 9 Feb 2026 11:32:00 +0100 Subject: [PATCH] ci: add Forgejo Actions workflow (pytest + smoke tests) --- .forgejo/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .forgejo/workflows/test.yml 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