ci: fix PATH for pip on dock5 host runner
All checks were successful
Tests / test (push) Successful in 2s
All checks were successful
Tests / test (push) Successful in 2s
This commit is contained in:
parent
33bb697da8
commit
0972e81ec8
1 changed files with 12 additions and 6 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue