Skip to content

Commit

Permalink
update test command in CI workflow to include environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzbornik committed Nov 21, 2024
1 parent 2167eb6 commit 5cfd9a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
run: docker buildx build --cache-from=type=local,src=/tmp/.buildx-cache --cache-to=type=local,dest=/tmp/.buildx-cache --output=type=docker -t my-app .

- name: Run tests
run: docker run my-app pytest
run: docker run --env MY_ENV_VAR=${{ secrets.HF_TOKEN }} --env WHISPER_MODEL=tiny --env DEFAULT_LANG=en my-app pytest
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit 5cfd9a0

Please sign in to comment.