diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 24e2eed..a268565 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -60,6 +60,7 @@ jobs: . "$HOME/.cargo/env" cargo check cargo test --no-run + cargo test --lib - name: Build release run: | @@ -239,11 +240,13 @@ jobs: OPENBRAIN_E2E_REMOTE: "true" OPENBRAIN_E2E_BASE_URL: http://${{ secrets.VPS_HOST }}:3100 OPENBRAIN__AUTH__ENABLED: "true" + OPENBRAIN__TRUTH__ENABLED: "true" run: | set -euxo pipefail export OPENBRAIN_E2E_API_KEY="$(cat .ci/openbrain_e2e_key)" . "$HOME/.cargo/env" cargo test --test e2e_mcp -- --test-threads=1 + cargo test --test e2e_truth -- --test-threads=1 - name: Remove ephemeral e2e key and restart service if: always() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')