Skip to content

Commit

Permalink
add kornia integration testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Jun 30, 2024
1 parent 401259e commit cfe6add
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: integration-tests
on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
actions: read
jobs:
kornia:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target : [ jax, numpy, tensorflow ]
steps:
- name: Checkout Ivy 🛎
uses: actions/checkout@v3
with:
path: ivy
persist-credentials: false
fetch-depth: 100

- name: Install ivy
run: |
cd ivy
sudo pip3 install -e .
- name: Run Tests
id: tests
run: |
pip3 install pymongo
cd ivy
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest pytest ivy_tests/test_integrations/test_kornia.py -p no:warnings --backend ${{ matrix.target }}
continue-on-error: true

- name: Check on failures
if: steps.tests.outcome != 'success'
run: exit 1

0 comments on commit cfe6add

Please sign in to comment.