Skip to content

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

fix ci : only run web ci (#16939)

maoyifenge082e6995181
diff --git a/.github/workflows/sep-tests.yml b/.github/workflows/sep-tests.yml
index ab304fbea7..0b3c0a91a9 100644
--- a/.github/workflows/sep-tests.yml
+++ b/.github/workflows/sep-tests.yml
@@ -209,8 +209,12 @@ jobs:
api_proxy_schemes='["go","python"]'
elif [[ "$has_go" == "true" ]]; then
api_proxy_schemes='["go"]'
- else
+ elif [[ "$has_python" == "true" ]]; then
api_proxy_schemes='["python"]'
+ elif [[ "$has_web" == "true" ]]; then
+ api_proxy_schemes='["web"]'
+ else
+ api_proxy_schemes='["go","python"]'
fi
echo "has_go_changes=${has_go}" >> $GITHUB_OUTPUT
@@ -333,6 +337,7 @@ jobs:
) 9>"${BUILD_LOCK_FILE}"
- name: Prepare Python test environment
+ if: env.API_PROXY_SCHEME != 'web'
run: |
uv sync --python 3.13 --group test --frozen
uv pip install -e sdk/python
@@ -517,6 +522,7 @@ jobs:
source .venv/bin/activate && set -o pipefail; DOC_ENGINE=infinity pytest -s --tb=short --level=${HTTP_API_TEST_LEVEL} --junitxml=pytest-infinity-sdk.xml --cov=sdk/python/ragflow_sdk --cov-branch --cov-report=xml:coverage-infinity-sdk.xml test/testcases/test_sdk_api 2>&1 | tee infinity_sdk_test.log
- name: Run New RESTFUL api tests against Infinity
+ if: env.API_PROXY_SCHEME != 'web'
run: |
export http_proxy=""; export https_proxy=""; export no_proxy=""; export HTTP_PROXY=""; export HTTPS_PROXY=""; export NO_PROXY=""
svc_ready=0
@@ -813,6 +819,7 @@ jobs:
) 9>"${BUILD_LOCK_FILE}"
- name: Prepare Python test environment
+ if: env.API_PROXY_SCHEME != 'web'
run: |
uv sync --python 3.13 --group test --frozen
uv pip install -e sdk/python
@@ -997,6 +1004,7 @@ jobs:
source .venv/bin/activate && set -o pipefail; pytest -s --tb=short --level=${HTTP_API_TEST_LEVEL} --junitxml=pytest-es-sdk.xml --cov=sdk/python/ragflow_sdk --cov-branch --cov-report=xml:coverage-es-sdk.xml test/testcases/test_sdk_api 2>&1 | tee es_sdk_test.log
- name: Run New RESTFUL api tests against Elasticsearch
+ if: env.API_PROXY_SCHEME != 'web'
run: |
export http_proxy=""; export https_proxy=""; export no_proxy=""; export HTTP_PROXY=""; export HTTPS_PROXY=""; export NO_PROXY=""
svc_ready=0