Skip to content

Commit

Permalink
Integrating secret
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiefHolland committed Feb 26, 2024
1 parent f03ff6f commit 48af156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ jobs:
env:
PLATFORM: ${{ matrix.platform }}
- name: Run the tests
run: task OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} -v test -- debug
run: task -v test -- debug
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PLATFORM: ${{ matrix.platform }}
- name: Generate the SBOMs
run: task -v sbom
Expand Down
2 changes: 1 addition & 1 deletion Task/python/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tasks:
test:
desc: Run the project tests
cmds:
- pipenv run pytest --cov={{.PROJECT_SLUG}} tests
- OPENAI_API_KEY='{{.OPENAI_API_KEY}}' pipenv run pytest --cov={{.PROJECT_SLUG}} tests

build:
desc: Build the project; docker images, compiled binaries, etc.
Expand Down

0 comments on commit 48af156

Please sign in to comment.