ci: manual checkout without actions/checkout
Some checks failed
Tests / test (push) Failing after 7m17s
Some checks failed
Tests / test (push) Failing after 7m17s
This commit is contained in:
parent
06f6b867be
commit
134b130ca0
1 changed files with 7 additions and 9 deletions
|
|
@ -5,17 +5,15 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth 1 https://git.vainplex.dev/claudia.keller/cortex.git .
|
||||
git checkout $GITHUB_SHA || true
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install and test
|
||||
run: |
|
||||
python3 -m pip install -e . --break-system-packages
|
||||
python3 -m pip install pytest --break-system-packages
|
||||
|
||||
- name: Run tests
|
||||
run: python3 -m pytest tests/ -v --tb=short
|
||||
|
||||
- name: Smoke test CLI
|
||||
run: |
|
||||
python3 -m pytest tests/ -v --tb=short
|
||||
cortex version
|
||||
cortex triage score "test task"
|
||||
cortex triage score "CI test"
|
||||
|
|
|
|||
Loading…
Reference in a new issue