Skip to content

Commit

Permalink
ci(test_api_server): update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Nov 25, 2024
1 parent dbaeafc commit 475c913
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test_api_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,26 +92,26 @@ jobs:
sleep 5
cat start-llamaedge.log
- name: test translations
run: |
cd ./tests
curl --location 'http://localhost:8080/v1/audio/translations' \
--header 'Content-Type: multipart/form-data' \
--form 'file=@"test_cn.wav"' \
--form 'language="zh"'
# - name: test translations
# run: |
# cd ./tests
# curl --location 'http://localhost:8080/v1/audio/translations' \
# --header 'Content-Type: multipart/form-data' \
# --form 'file=@"test_cn.wav"' \
# --form 'language="zh"'

cd -
cat start-llamaedge.log
# cd -
# cat start-llamaedge.log

- name: Test translations endpoint
run: |
ls -al ./tests
hurl --test --jobs 1 ./tests/translations.hurl --max-time 30s
hurl --test --jobs 1 ./tests/translations.hurl
- name: Test transcriptions endpoint
run: |
ls -al ./tests
hurl --test --jobs 1 ./tests/transcriptions.hurl --max-time 30s
hurl --test --jobs 1 ./tests/transcriptions.hurl
- name: Stop llama-api-server
run: |
Expand Down

0 comments on commit 475c913

Please sign in to comment.