Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Jun 11, 2024
1 parent 035c410 commit d3ff5a5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cortex-js-openai-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Test - OpenAI API Coverage - Nightly / Manual
on:
schedule:
- cron: '0 20 * * 1,2,3' # At 8 PM UTC on Monday, Tuesday, and Wednesday which is 3 AM UTC+7 Tuesday, Wednesday, and Thursday
- cron: '0 20 * * 1,2,3,4,5' # At 8 PM UTC on Monday, Tuesday, and Wednesday which is 3 AM UTC+7 Tuesday, Wednesday, and Thursday
workflow_dispatch:
inputs:
endpoints:
Expand All @@ -18,15 +18,16 @@ env:

jobs:
openai-python-tests:
runs-on: [self-hosted, Linux, ubuntu-desktop]
runs-on: [self-hosted, Linux]
steps:
- name: Getting the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: dev

- name: Installing node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand All @@ -45,7 +46,7 @@ jobs:
- run:
|
node cortex-js/dist/src/command.js serve --host 127.0.0.1 --port 4010 > cortex.log & cortex_pid=$!
sleep 1
sleep 3
wget -O api.json http://127.0.0.1:4010/api-json
kill $cortex_pid

Expand Down

0 comments on commit d3ff5a5

Please sign in to comment.