diff --git a/.github/workflows/test_demos.yml b/.github/workflows/test_demos.yml index 12331f41..38f43c9c 100644 --- a/.github/workflows/test_demos.yml +++ b/.github/workflows/test_demos.yml @@ -16,7 +16,10 @@ jobs: id: tests run: | cd demos - docker run -v `pwd`:/ivy/demos unifyai/ivy:latest demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} + mkdir .ivy + touch .ivy/key.pem + echo -n ${{ secrets.USER_API_KEY }} > .ivy/key.pem + docker run -v `pwd`:/ivy/demos unifyai/ivy:latest demos/tests/test_demos.sh - name: Check on failures if: steps.tests.outcome != 'success' diff --git a/tests/notebook_testing.py b/tests/notebook_testing.py index 1a40b3f5..25f77d32 100644 --- a/tests/notebook_testing.py +++ b/tests/notebook_testing.py @@ -176,7 +176,6 @@ def test_notebook(nb): # kc.execute("ivy.set_backend('jax')") # kc.execute("ivy.unset_backend()") # TODO - print(f"cur dir {os.getcwd()}") kc.execute("import os;os.environ['IVY_ROOT']='./.ivy'") while True: diff --git a/tests/test_demos.sh b/tests/test_demos.sh index f2235674..9baf609d 100755 --- a/tests/test_demos.sh +++ b/tests/test_demos.sh @@ -2,11 +2,6 @@ cd demos -# Compiler/Transpiler API keys -mkdir .ivy -touch .ivy/key.pem -echo -n "$1"> .ivy/key.pem - # install dependencies python3 -m pip install -r requirements.txt >/dev/null 2>&1