Skip to content

Commit

Permalink
[CI] Inferentia tests through pytest (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgk authored Jun 25, 2024
1 parent e6ff687 commit 715d782
Show file tree
Hide file tree
Showing 5 changed files with 304 additions and 487 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/client-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
cd tests
djl-serving -m test::Python=file://$PWD/python &> output.log &
sleep 15
python test_client.py
python integration/test_client.py
jobs
kill %1
- name: On failure step
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
./gradlew --stop
./gradlew :serving:run --args="-m test::Python=file:$(pwd -W)/tests/python" &> output.log &
sleep 30
cd tests/ && python test_client.py
cd tests/ && python integration/test_client.py
- name: On failure step
if: ${{ failure() }}
shell: bash
Expand Down
Loading

0 comments on commit 715d782

Please sign in to comment.