diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 4d3c507..e044d0c 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -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"