darkplex-core/.forgejo/workflows/test.yml
Claudia 0972e81ec8
All checks were successful
Tests / test (push) Successful in 2s
ci: fix PATH for pip on dock5 host runner
2026-02-09 11:58:33 +01:00

25 lines
671 B
YAML

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
PATH: /home/deploy/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
steps:
- name: Checkout
run: |
git clone --depth 1 https://git.vainplex.dev/claudia.keller/cortex.git .
- name: Install dependencies
run: |
pip install -e . --break-system-packages -q
pip install pytest --break-system-packages -q
- name: Run tests
run: python3 -m pytest tests/ -v --tb=short
- name: Smoke test CLI
run: |
cortex version
cortex triage score "CI smoke test"