Skip to content

Commit

Permalink
update CI workflow to set entrypoint for test command in Docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzbornik committed Nov 22, 2024
1 parent 28d6e7b commit 1de3259
Showing 1 changed file 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 @@ -48,4 +48,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 --env MY_ENV_VAR=${{ secrets.HF_TOKEN }} --env WHISPER_MODEL=tiny --env DEFAULT_LANG=en my-app pytest
run: docker run --env MY_ENV_VAR=${{ secrets.HF_TOKEN }} --env WHISPER_MODEL=tiny --env DEFAULT_LANG=en --entrypoint pytest my-app

0 comments on commit 1de3259

Please sign in to comment.