Skip to content

Commit

Permalink
Patch workflows so it can run on any py-marqo branch (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanliAlex authored Jan 29, 2024
1 parent d52fb0e commit 0c31fad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/arm64_docker_marqo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
echo "::set-output name=py_marqo_branch::git+https://github.com/marqo-ai/py-marqo.git@${{ env.PY_MQ_API_TEST_BRANCH }}"
fi
env:
PY_MQ_API_TEST_BRANCH: ${{ inputs.py-marqo-branch }}
PY_MQ_API_TEST_BRANCH: ${{ inputs.py_marqo_branch }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -114,7 +114,7 @@ jobs:
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
- name: Run Integration Tests - ARM64 local_os
- name: Run Integration Tests - ARM64 Docker Marqo
run: |
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cpu_docker_marqo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
echo "::set-output name=py_marqo_branch::git+https://github.com/marqo-ai/py-marqo.git@${{ env.PY_MQ_API_TEST_BRANCH }}"
fi
env:
PY_MQ_API_TEST_BRANCH: ${{ inputs.py-marqo-branch }}
PY_MQ_API_TEST_BRANCH: ${{ inputs.py_marqo_branch }}

- name: Checkout marqo-api-tests repo
uses: actions/checkout@v3
Expand All @@ -113,7 +113,7 @@ jobs:
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
- name: Run Integration Tests - dind_os
- name: Run Integration Tests - CPU Docker Marqo
run: |
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cpu_local_marqo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
echo "::set-output name=py_marqo_branch::git+https://github.com/marqo-ai/py-marqo.git@${{ env.PY_MQ_API_TEST_BRANCH }}"
fi
env:
PY_MQ_API_TEST_BRANCH: ${{ inputs.py-marqo-branch }}
PY_MQ_API_TEST_BRANCH: ${{ inputs.py_marqo_branch }}

- name: Checkout marqo-api-tests repo
uses: actions/checkout@v3
Expand All @@ -112,7 +112,7 @@ jobs:
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
- name: Run Integration Tests - local_os
- name: Run Integration Tests - CPU Local Marqo
run: |
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cuda_docker_marqo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
echo "::set-output name=py_marqo_branch::git+https://github.com/marqo-ai/py-marqo.git@${{ env.PY_MQ_API_TEST_BRANCH }}"
fi
env:
PY_MQ_API_TEST_BRANCH: ${{ inputs.py-marqo-branch }}
PY_MQ_API_TEST_BRANCH: ${{ inputs.py_marqo_branch }}

- name: Checkout marqo-api-tests repo
uses: actions/checkout@v3
Expand All @@ -114,7 +114,7 @@ jobs:
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
- name: Run CUDA Integration Tests - dind_os
- name: Run CUDA Integration Tests - CUDA Docker Marqo
run: |
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
Expand Down

0 comments on commit 0c31fad

Please sign in to comment.