Skip to content

Commit

Permalink
fix: port
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Jun 11, 2024
1 parent 9ceae7c commit f3be08b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cortex-js-openai-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ jobs:
- name: Install dependencies
run: |
npm install -g @stoplight/prism-cli
npm install -g @stoplight/prism-cli wait-on
- run: yarn install && yarn build
working-directory: ./cortex-js

- run:
|
node cortex-js/dist/src/command.js serve --host 127.0.0.1 --port 4010 > cortex.log &
sleep 3
wget -O api.json http://127.0.0.1:7331/api-json
node cortex-js/dist/src/command.js serve --host 127.0.0.1 > cortex.log &
wait-on http-get://127.0.0.1:7331/api-json && wget -O api.json http://127.0.0.1:7331/api-json
kill $(lsof -t -i:7331)

- name: Create python virtual environment and run test
Expand Down

0 comments on commit f3be08b

Please sign in to comment.