Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

CI : web not run api tests (#21615)

maoyifeng7121485e919a
diff --git a/.github/workflows/sep-tests.yml b/.github/workflows/sep-tests.yml
index 229af7d952..7fd429e3dd 100644
--- a/.github/workflows/sep-tests.yml
+++ b/.github/workflows/sep-tests.yml
@@ -679,6 +679,8 @@ jobs:
# between `docker compose up -d` and this one) and it registers the
# providers, instances and tenant default models itself (so no fixture
# step has to run first). No priority filtering: run it all.
+ # Skip when only frontend (web) code changed: HAS_GO is false then.
+ if: ${{ env.HAS_GO == 'true' }}
run: |
set -euo pipefail
export http_proxy="" https_proxy="" no_proxy="" HTTP_PROXY="" HTTPS_PROXY="" NO_PROXY=""
@@ -1238,6 +1240,8 @@ jobs:
# between `docker compose up -d` and this one) and it registers the
# providers, instances and tenant default models itself (so no fixture
# step has to run first). No priority filtering: run it all.
+ # Skip when only frontend (web) code changed: HAS_GO is false then.
+ if: ${{ env.HAS_GO == 'true' }}
run: |
set -euo pipefail
export http_proxy="" https_proxy="" no_proxy="" HTTP_PROXY="" HTTPS_PROXY="" NO_PROXY=""