ci: fix PATH for pip on dock5 host runner
All checks were successful
Tests / test (push) Successful in 2s

This commit is contained in:
Claudia 2026-02-09 11:58:33 +01:00
parent 33bb697da8
commit 0972e81ec8

View file

@ -4,16 +4,22 @@ on: [push, pull_request]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
PATH: /home/deploy/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
steps: steps:
- name: Checkout - name: Checkout
run: | run: |
git clone --depth 1 https://git.vainplex.dev/claudia.keller/cortex.git . git clone --depth 1 https://git.vainplex.dev/claudia.keller/cortex.git .
git checkout $GITHUB_SHA || true
- name: Install and test - 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: | run: |
python3 -m pip install -e . --break-system-packages
python3 -m pip install pytest --break-system-packages
python3 -m pytest tests/ -v --tb=short
cortex version cortex version
cortex triage score "CI test" cortex triage score "CI smoke test"