Skip to content

Commit

Permalink
add and validate smoke tests
Browse files Browse the repository at this point in the history
Signed-off-by: tylertitsworth <[email protected]>
  • Loading branch information
tylertitsworth committed Jul 9, 2024
1 parent 5a9fc1c commit 47b6d58
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 9 deletions.
4 changes: 2 additions & 2 deletions AudioQnA/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/audioqna:${GITHUB_RUN_NUMBER:-0}
cmd: python -c "from comps import AudioQnAGateway, MicroService, ServiceOrchestrator, ServiceType"
entrypoint: ""
cmd: -c "from comps import AudioQnAGateway, MicroService, ServiceOrchestrator, ServiceType"
entrypoint: "python"
3 changes: 2 additions & 1 deletion ChatQnA/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/chatqna:${GITHUB_RUN_NUMBER:-0}
cmd: -h
cmd: -c "from comps import ChatQnAGateway, MicroService, ServiceOrchestrator, ServiceType"
entrypoint: "python"
3 changes: 2 additions & 1 deletion CodeGen/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/codegen:${GITHUB_RUN_NUMBER:-0}
cmd: -h
cmd: -c "from comps import CodeGenGateway, MicroService, ServiceOrchestrator, ServiceType"
entrypoint: "python"
3 changes: 2 additions & 1 deletion CodeTrans/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/codetrans:${GITHUB_RUN_NUMBER:-0}
cmd: -h
cmd: -c "from comps import CodeTransGateway, MicroService, ServiceOrchestrator"
entrypoint: "python"
3 changes: 2 additions & 1 deletion DocSum/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/docsum:${GITHUB_RUN_NUMBER:-0}
cmd: -h
cmd: -c "from comps import DocSumGateway, MicroService, ServiceOrchestrator, ServiceType"
entrypoint: "python"
3 changes: 2 additions & 1 deletion SearchQnA/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/searchqna:${GITHUB_RUN_NUMBER:-0}
cmd: -h
cmd: -c "from comps import MicroService, SearchQnAGateway, ServiceOrchestrator, ServiceType"
entrypoint: "python"
3 changes: 2 additions & 1 deletion Translation/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/translation:${GITHUB_RUN_NUMBER:-0}
cmd: -h
cmd: -c "from comps import MicroService, ServiceOrchestrator, ServiceType, TranslationGateway"
entrypoint: "python"
3 changes: 2 additions & 1 deletion VisualQnA/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# https://github.com/intel/ai-containers/tree/main/test-runner
import-comps:
img: ${REGISTRY}/visualqna:${GITHUB_RUN_NUMBER:-0}
cmd: -h
cmd: llava_server.py -h
entrypoint: "python"

0 comments on commit 47b6d58

Please sign in to comment.