From d418f8386f2524d29c51d10a78bc3e2a1ddad87e Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Mon, 30 Mar 2026 11:51:39 +0200 Subject: [PATCH] fix: exclude E2E tests from regular CI (no MongoDB available) The E2E tests require MongoDB and only run in the nightly workflow. Use --lib flag to run only unit tests in the regular CI check job. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bfb37d9..673e175 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: # Tests (reuses compilation artifacts from clippy) - name: Tests (core + agent) - run: cargo test -p compliance-core -p compliance-agent + run: cargo test -p compliance-core -p compliance-agent --lib - name: Tests (dashboard server) run: cargo test -p compliance-dashboard --features server --no-default-features - name: Tests (dashboard web)