Skip to content

Commit

Permalink
feat: integration tests workflow (#28781)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong authored Jun 30, 2024
1 parent 9f20750 commit 48e312d
Show file tree
Hide file tree
Showing 29 changed files with 2,191 additions and 8,292 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 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 }} ${{ secrets.IVY_API_KEY }}
continue-on-error: true

- name: Check on failures
if: steps.tests.outcome != 'success'
run: exit 1
14 changes: 0 additions & 14 deletions .github/workflows/pr-lint-bot.yml

This file was deleted.

3 changes: 0 additions & 3 deletions integration_tests/README.md

This file was deleted.

33 changes: 0 additions & 33 deletions integration_tests/conftest.py

This file was deleted.

205 changes: 0 additions & 205 deletions integration_tests/helpers.py

This file was deleted.

Loading

0 comments on commit 48e312d

Please sign in to comment.