Skip to content

Commit

Permalink
fix: using correct python version in integration tests workflow (#28854)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong authored Jan 20, 2025
1 parent bf65e4c commit 661115b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
permissions:
actions: read
contents: write

jobs:
kornia:
runs-on: ubuntu-latest
Expand All @@ -33,13 +34,13 @@ jobs:
- name: Install ivy
run: |
cd ivy
sudo pip3 install -e .
pip install -e .
- name: Run Tests
id: tests
run: |
cd ivy
sudo scripts/shell/run_integration_tests.sh kornia ${{ matrix.target }} ${{ secrets.IVY_API_KEY }}
scripts/shell/run_integration_tests.sh kornia ${{ matrix.target }} ${{ secrets.IVY_API_KEY }}
continue-on-error: true

- name: Check on failures
Expand Down
28 changes: 14 additions & 14 deletions scripts/shell/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ target=$2
export IVY_KEY=$3
export DEBUG=0

pip3 install -r requirements/requirements.txt --upgrade
pip3 install jax
pip3 install jaxlib
pip3 install flax
pip3 install opencv-python
pip3 install pytest
pip3 install tensorflow
pip3 install torch
pip3 install torchvision
pip3 install kornia
pip3 install accelerate
pip3 install transformers
pip3 install redis
pip3 install hypothesis
pip install -r requirements/requirements.txt --upgrade
pip install jax
pip install jaxlib
pip install flax
pip install opencv-python
pip install pytest
pip install tensorflow
pip install torch
pip install torchvision
pip install kornia
pip install accelerate
pip install transformers
pip install redis
pip install hypothesis

pytest ivy_tests/test_integrations/test_$integration.py -p no:warnings --tb=short --target $target

0 comments on commit 661115b

Please sign in to comment.