-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: integration tests workflow (#28781)
- Loading branch information
1 parent
9f20750
commit 48e312d
Showing
29 changed files
with
2,191 additions
and
8,292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.