Skip to content

Commit

Permalink
Update open-source-unit-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pandu-k authored Aug 3, 2023
1 parent 8317c02 commit e8f475b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/open-source-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ jobs:
- name: "Determine py-marqo's supported Marqo version"
id: get_default_marqo_version
run: |
echo "::set-output name=version::$(python -c 'from marqo import version; print(version.__marqo_version__)')"
python -m pip install --upgrade pip
pip install -r requirements.txt
export PYTHONPATH=$(pwd):$PYTHONPATH
SUPPORTED_MQ_VERSION=$(python -c 'from marqo import version; print(version.__marqo_version__)') || exit 1
# error out if version is empty:
if [ -z "$SUPPORTED_MQ_VERSION" ]; then exit 1; fi
echo "::set-output name=version::$SUPPORTED_MQ_VERSION"
- name: Log into ECR
uses: docker/login-action@v1
Expand Down

0 comments on commit e8f475b

Please sign in to comment.