Skip to content

Commit

Permalink
update python app ci-cd - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Chen authored and Mark Chen committed Jan 25, 2024
1 parent 514be02 commit 9165636
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Unit Tests
run: |
docker build -t fastapirepo .
docker run --rm -e OpenAI_ORG_ID=${{ secrets.OpenAI_ORG_ID }} OPENAI_API_KEY=${{secrets.OPENAI_API_KEY}} fastapirepo pytest
env:
OpenAI_ORG_ID: ${{ secrets.OpenAI_ORG_ID }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
docker run --rm -e OpenAI_ORG_ID=${{ secrets.OpenAI_ORG_ID }} -e OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} fastapirepo pytest

0 comments on commit 9165636

Please sign in to comment.