Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
Signed-off-by: ZePan110 <[email protected]>
  • Loading branch information
ZePan110 committed Jan 26, 2025
1 parent 462bc55 commit 698d757
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/push-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Build latest images on push event

on:
push:
branches: ["main", "opt-build"]
branches: ["main"]
paths:
- 'comps/**'
- 'src/**'
Expand Down Expand Up @@ -33,8 +33,7 @@ jobs:
id: get-services
run: |
set -x
# base_commit=$(git rev-parse HEAD~1)
base_commit=bd28a9f15e7f4b262ebcbbd9df3fa5b7e56803f8
base_commit=$(git rev-parse HEAD~1)
merged_commit=$(git log -1 --format='%H')
# git diff --name-only ${base_commit} ${merged_commit} | grep -E "cores|comps/__init__.py" | grep -Ev ".md"
Expand Down
1 change: 0 additions & 1 deletion comps/llms/src/text-generation/integrations/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
import time

# test
import boto3
from botocore.exceptions import ClientError
from fastapi.responses import StreamingResponse
Expand Down
1 change: 0 additions & 1 deletion comps/llms/src/text-generation/opea_llm_microservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import time
from typing import Union

# test
from comps import (
CustomLogger,
LLMParamsDoc,
Expand Down
1 change: 0 additions & 1 deletion comps/llms/src/text-generation/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ prometheus-fastapi-instrumentator
shortuuid
transformers
uvicorn
#test
2 changes: 1 addition & 1 deletion tests/llms/test_llms_text-generation_bedrock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

set -xe
#test

WORKPATH=$(dirname "$PWD")
LOG_PATH="$WORKPATH/tests"
ip_address=$(hostname -I | awk '{print $1}')
Expand Down

0 comments on commit 698d757

Please sign in to comment.