ci: add Forgejo Actions workflow (pytest + smoke tests)
Some checks failed
Tests / test (push) Failing after 7s
Some checks failed
Tests / test (push) Failing after 7s
This commit is contained in:
parent
58251e5ce1
commit
34942079f1
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/test.yml
Normal file
23
.forgejo/workflows/test.yml
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue