Skip to content

Commit

Permalink
resolved a few more issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Aug 9, 2023
1 parent afa7f40 commit cbbd6ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test_demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion tests/notebook_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 0 additions & 5 deletions tests/test_demos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cbbd6ea

Please sign in to comment.