Skip to content

Commit

Permalink
fix: update git ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Jun 11, 2024
1 parent 5aa4526 commit 59e712e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 54 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/cortex-js-openai-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ on:
workflow_dispatch:
inputs:
endpoints:
description: 'comma-separated list (see available at endpoints_mapping.json e.g. GET /users,POST /transform)'
description: 'comma-separated list (see available at coverage/endpoint_mapping.json e.g. GET /users,POST /transform)'
required: false
default: all
type: string
push:
branches:
- feat/cortex_openai_coverage

env:
OPENAI_API_PYTHON_TAG: v1.23.2
Expand Down Expand Up @@ -71,10 +74,11 @@ jobs:
mv ../cortex-js/coverage/endpoint_mapping.json tests/endpoints_mapping.json
prism mock api.json > prism.log & prism_pid=$! &&
pytest --endpoint "$ENDPOINTS" --reportportal --html=report.html && kill $prism_pid
# pytest --endpoint "$ENDPOINTS" --reportportal --html=report.html && kill $prism_pid
pytest --endpoint all --reportportal --html=report.html && kill $prism_pid
deactivate
env:
ENDPOINTS: ${{ github.event.inputs.endpoints }}
# env:
# ENDPOINTS: ${{ github.event.inputs.endpoints }}

- name: Upload Artifact
uses: actions/upload-artifact@v2
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ dist
*.lock
node_modules
.turbo

# CI - Test - Coverage
cortex.log
api.log
prism.log
1 change: 0 additions & 1 deletion api.json

This file was deleted.

Loading

0 comments on commit 59e712e

Please sign in to comment.