Skip to content

Commit

Permalink
use ivy api key from secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Jun 30, 2024
1 parent 0e171b5 commit 7065946
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
pip3 install kornia
cd ivy
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest scripts/shell/run_integration_tests.sh kornia ${{ matrix.target }}
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest scripts/shell/run_integration_tests.sh kornia ${{ matrix.target }} ${{ secrets.IVY_API_KEY }}
continue-on-error: true

- name: Check on failures
Expand Down
2 changes: 2 additions & 0 deletions scripts/shell/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
integration=$1
target=$2

export IVY_KEY=$3

pip3 install kornia
pytest ivy_tests/test_integrations/test_$integration.py -p no:warnings --target $target

0 comments on commit 7065946

Please sign in to comment.