From 134b130ca0f218473cc9a4317f4229d0c2c3562c Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 9 Feb 2026 11:48:51 +0100 Subject: [PATCH] ci: manual checkout without actions/checkout --- .forgejo/workflows/test.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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"