Add OpenAI chat completion streaming mock api #39
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- name: Start service and Redis | |
run: docker compose up -d && bunx wait-on http-get://127.0.0.1:46982/swagger/json | |
- run: bun install && bun run generate:types | |
- run: bun test | |
env: | |
REDIS_URL: redis://localhost:6379 |