diff --git a/.github/workflows/cortex-js-openai-coverage.yml b/.github/workflows/cortex-js-openai-coverage.yml index 6007cfd9a..fa6421d21 100644 --- a/.github/workflows/cortex-js-openai-coverage.yml +++ b/.github/workflows/cortex-js-openai-coverage.yml @@ -63,12 +63,13 @@ jobs: cat ../coverage/pytest.ini >> pytest.ini echo "rp_api_key = ${{ secrets.RP_API_KEY }}" >> pytest.ini echo "rp_endpoint = ${{ secrets.RP_ENDPOINT }}" >> pytest.ini - + pytest --endpoint "$ENDPOINTS" --reportportal --html=report.html -v || true kill $cortex_pid deactivate env: ENDPOINTS: ${{ github.event.inputs.endpoints }} + TEST_API_BASE_URL: http://127.0.0.1:4010/v1 - name: Collect RP artifacts diff --git a/coverage/endpoint_mapping.json b/coverage/endpoint_mapping.json index b0b572dff..14e3e92cd 100644 --- a/coverage/endpoint_mapping.json +++ b/coverage/endpoint_mapping.json @@ -1,6 +1,6 @@ { "/embeddings": [ - "test_embedding.py" + "test_embeddings.py" ], "/audio/translations": [ "test_translations.py" @@ -72,4 +72,4 @@ "test_azure.py", "test_deepcopy.py" ] - } \ No newline at end of file + }