19 lines
541 B
YAML
19 lines
541 B
YAML
name: Tests
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
git clone --depth 1 https://git.vainplex.dev/claudia.keller/cortex.git .
|
|
git checkout $GITHUB_SHA || true
|
|
|
|
- name: Install and test
|
|
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 triage score "CI test"
|