(fix)(demos): modified the shell script to download the binaries befo… #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-nightly-binaries | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
module: [ | |
alexnet_demo_cpu, | |
# bert_demo, # tests disabled until the OOM issue is resolved | |
image_segmentation_with_ivy_unet_cpu, | |
# mmpretrain_to_jax, # tests disabled until we get cuda installation working in the docker image | |
resnet_demo_cpu, | |
torch_to_jax_cpu, | |
lstm_tensorflow_to_torch_cpu, | |
lstm_torch_to_tensorflow_cpu, | |
# dinov2_to_paddle, # tests disabled until we get cuda installation working in the docker image | |
convnext_to_torch_cpu, | |
# xgboost_demo, # tests disabled until we get the csv files uploaded to drive for being used in the tests | |
] | |
steps: | |
- name: Clean repository | |
run: | |
sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE | |
- name: Checkout Demos🛎 | |
uses: actions/checkout@v4 | |
with: | |
repository: ivy-llc/demos | |
path: demos | |
persist-credentials: false | |
submodules: "recursive" | |
fetch-depth: 1 | |
- name: Checkout Ivy🛎 | |
uses: actions/checkout@v4 | |
with: | |
repository: ivy-llc/ivy | |
path: ivy | |
persist-credentials: false | |
submodules: "recursive" | |
fetch-depth: 1 | |
- name: Run Integration Tests for Enterprise Demos | |
run: | | |
docker pull transpileai/ivy:latest | |
docker run --rm -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy transpileai/ivy:latest demos/tests/test_demos.sh examples_and_demos/${{ matrix.module }}.ipynb true true |