Skip to content

Commit

Permalink
gha: install caikit-nlp-client in a virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed Oct 16, 2024
1 parent c536a76 commit 6b49e81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,15 @@ jobs:
- name: Install caikit-nlp-client
run: |
python -m venv .venv
source .venv/bin/activate
pip install caikit-nlp-client
- name: Perform test inference (http)
run: |
source .venv/bin/activate
export ISVC_URL="$(oc get isvc ${ISVC_NAME} -o jsonpath='{.status.components.predictor.url}')"
export ISVC_HOSTNAME=$(echo $ISVC_URL | cut -d/ -f3-)
echo "Querying ISVC at: ${ISVC_URL}"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/kserve-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,15 @@ jobs:
- name: Install caikit-nlp-client
run: |
python -m venv .venv
source .venv/bin/activate
pip install caikit-nlp-client
- name: Perform test inference (http)
run: |
source .venv/bin/activate
export ISVC_URL="$(oc get isvc ${ISVC_NAME} -o jsonpath='{.status.components.predictor.url}')"
export ISVC_HOSTNAME=$(echo $ISVC_URL | cut -d/ -f3-)
echo "Querying ISVC at: ${ISVC_URL}"
Expand Down

0 comments on commit 6b49e81

Please sign in to comment.