Skip to content

Commit

Permalink
add pull wheel and test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Apr 2, 2024
1 parent 646d383 commit 837dd15
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/build-wheel-and-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,39 @@ jobs:
with:
filename: dist/*.whl
internal: $INTERNAL
build-container-and-push:
pull-wheel-and-test:
needs: build-wheel-and-push
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to s3
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.AWS_WEBIDENTITY_FOR_GITHUB_ACTIONS }}
aws-region: us-east-1
- name: Make directory for wheel
run: |
mkdir dist_s3
- name: Pull from s3
uses: neuralmagic/nm-actions/actions/s3_pull@pypi-actions
with:
filename: ${{ needs.build-wheel-and-push.outputs.wheel }}
dst: dist_s3
- name: Install Wheel
run: |
pip install dist_s3/*.whl
- name: Checkout code
uses: actions/checkout@v3
- name: Install test dependencies
run: |
rm -rf src/
pip install -e ./[dev]
- name: Test Wheel on Base Tests
run: |
make test
build-container-and-push:
needs: pull-wheel-and-test
runs-on: [aws-avx2-64G]
steps:
- name: Checkout code
Expand Down

0 comments on commit 837dd15

Please sign in to comment.