Skip to content

Commit

Permalink
refactor: rename job to build-and-test and adjust large-packages sett…
Browse files Browse the repository at this point in the history
…ing in CI workflow
  • Loading branch information
pavelzbornik committed Nov 22, 2024
1 parent 5d5e402 commit d7e9b91
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
build-and-push:
build-and-test:
runs-on: ubuntu-latest

steps:
Expand All @@ -27,7 +27,7 @@ jobs:
android: true
dotnet: true
haskell: true
large-packages: true
large-packages: false
docker-images: false
swap-storage: true

Expand All @@ -40,5 +40,8 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Load Docker image
run: docker load -i $(docker save whisperx-fastapi:latest -o whisperx-fastapi.tar)

- name: Run tests
run: docker run --env MY_ENV_VAR=${{ secrets.HF_TOKEN }} --env WHISPER_MODEL=tiny --env DEFAULT_LANG=en --entrypoint pytest whisperx-fastapi:latest

0 comments on commit d7e9b91

Please sign in to comment.