Skip to content

Commit

Permalink
Fix int tests 2 (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
magdyksaleh authored Nov 12, 2024
1 parent 9358d0b commit 8f2cbf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ jobs:
# docker tag ghcr.io/predibase/lorax:main "$tag"
# done <<< "$tags"


- name: Run integration tests
uses: ./.github/workflows/integration-tests
if: ${{ github.ref == 'refs/heads/main' }}
with:
test_image_tag: ${{ steps.meta.outputs.tags[0] }}
test_image_tag: ${{ steps.meta.outputs.tags }}
use_local_image: true
github_token: ${{ secrets.GHCR_PAT }}
huggingface_token: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ runs:
shell: bash
run: |
echo "HUGGING_FACE_HUB_TOKEN=${{ inputs.huggingface_token }}" >> $GITHUB_ENV
echo "TEST_IMAGE_TAG=${{ inputs.test_image_tag }}" >> $GITHUB_ENV
first_tag=$(echo "${{ inputs.test_image_tag }}" | head -n 1)
echo "TEST_IMAGE_TAG=$first_tag" >> $GITHUB_ENV
- name: Run Embedding tests
shell: bash
Expand Down

0 comments on commit 8f2cbf7

Please sign in to comment.