From b17e5fd98532c5ddfdb0f1f04a667a7acc10d51a Mon Sep 17 00:00:00 2001 From: Van Pham <64197333+Van-QA@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:28:27 +0700 Subject: [PATCH 1/2] change --host to -- address --- .github/workflows/cortex-js-openai-coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cortex-js-openai-coverage.yml b/.github/workflows/cortex-js-openai-coverage.yml index 49c568538..8cb190846 100644 --- a/.github/workflows/cortex-js-openai-coverage.yml +++ b/.github/workflows/cortex-js-openai-coverage.yml @@ -48,7 +48,7 @@ jobs: - name: Run test run: | - node cortex-js/dist/src/command.js serve --host 127.0.0.1 --port 4010 > cortex.log & cortex_pid=$! + node cortex-js/dist/src/command.js serve --address 127.0.0.1 --port 4010 > cortex.log & cortex_pid=$! sleep 3 wget --no-verbose -O api.json http://127.0.0.1:4010/api-json cat api.json From 8aa8cdae07d92ebf0c5375395298023635cfc29e Mon Sep 17 00:00:00 2001 From: Van Pham <64197333+Van-QA@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:39:59 +0700 Subject: [PATCH 2/2] Update cortex-js-openai-coverage.yml --- .github/workflows/cortex-js-openai-coverage.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/cortex-js-openai-coverage.yml b/.github/workflows/cortex-js-openai-coverage.yml index 8cb190846..879a331b8 100644 --- a/.github/workflows/cortex-js-openai-coverage.yml +++ b/.github/workflows/cortex-js-openai-coverage.yml @@ -15,10 +15,6 @@ on: required: false default: dev type: string - - push: - branches: - - fix/openai_coverage_misc env: OPENAI_API_PYTHON_TAG: v1.33.0