Skip to content

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

Feat: output intinity test log (#12097)

Lynna95f22fa88cf
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index a5bdc1735d..5786cab697 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -247,7 +247,7 @@ jobs:
echo "Waiting for service to be available..."
sleep 5
done
- source .venv/bin/activate && DOC_ENGINE=infinity pytest -s --tb=short --level=${HTTP_API_TEST_LEVEL} test/testcases/test_sdk_api
+ source .venv/bin/activate && DOC_ENGINE=infinity pytest -s --tb=short --level=${HTTP_API_TEST_LEVEL} test/testcases/test_sdk_api > infinity_sdk_test.log
- name: Run frontend api tests against Infinity
run: |
@@ -256,7 +256,7 @@ jobs:
echo "Waiting for service to be available..."
sleep 5
done
- source .venv/bin/activate && DOC_ENGINE=infinity pytest -s --tb=short sdk/python/test/test_frontend_api/get_email.py sdk/python/test/test_frontend_api/test_dataset.py
+ source .venv/bin/activate && DOC_ENGINE=infinity pytest -s --tb=short sdk/python/test/test_frontend_api/get_email.py sdk/python/test/test_frontend_api/test_dataset.py > infinity_api_test.log
- name: Run http api tests against Infinity
run: |
@@ -265,7 +265,7 @@ jobs:
echo "Waiting for service to be available..."
sleep 5
done
- source .venv/bin/activate && DOC_ENGINE=infinity pytest -s --tb=short --level=${HTTP_API_TEST_LEVEL} test/testcases/test_http_api
+ source .venv/bin/activate && DOC_ENGINE=infinity pytest -s --tb=short --level=${HTTP_API_TEST_LEVEL} test/testcases/test_http_api > infinity_http_api_test.log
- name: Stop ragflow:nightly
if: always() # always run this step even if previous steps failed