Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit c6028cf

Browse files
hiento09Van-QA
andauthored
Chore test openai api (#886)
Co-authored-by: Hien To <tominhhien97@gmail.com> Co-authored-by: Van Pham <64197333+Van-QA@users.noreply.github.com>
1 parent 4a09e8c commit c6028cf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/cortex-js-openai-coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,13 @@ jobs:
6363
cat ../coverage/pytest.ini >> pytest.ini
6464
echo "rp_api_key = ${{ secrets.RP_API_KEY }}" >> pytest.ini
6565
echo "rp_endpoint = ${{ secrets.RP_ENDPOINT }}" >> pytest.ini
66-
66+
6767
pytest --endpoint "$ENDPOINTS" --reportportal --html=report.html -v || true
6868
kill $cortex_pid
6969
deactivate
7070
env:
7171
ENDPOINTS: ${{ github.event.inputs.endpoints }}
72+
TEST_API_BASE_URL: http://127.0.0.1:4010/v1
7273

7374

7475
- name: Collect RP artifacts

coverage/endpoint_mapping.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"/embeddings": [
3-
"test_embedding.py"
3+
"test_embeddings.py"
44
],
55
"/audio/translations": [
66
"test_translations.py"
@@ -72,4 +72,4 @@
7272
"test_azure.py",
7373
"test_deepcopy.py"
7474
]
75-
}
75+
}

0 commit comments

Comments
 (0)