Skip to content

open source ivy's transpiler #11

open source ivy's transpiler

open source ivy's transpiler #11

name: transpiler-tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
transformations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ivy
persist-credentials: false
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run Transformations Tests
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy ivyllc/ivy:latest scripts/shell/run_transpiler_tests.sh transformations
translations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ivy
persist-credentials: false
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run Translations Tests
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy ivyllc/ivy:latest scripts/shell/run_transpiler_tests.sh translations
module:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ivy
persist-credentials: false
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run Module Tests
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy ivyllc/ivy:latest scripts/shell/run_transpiler_tests.sh module
sourcegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ivy
persist-credentials: false
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run SourceGen Tests
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy ivyllc/ivy:latest scripts/shell/run_transpiler_tests.sh sourcegen
hf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ivy
persist-credentials: false
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run HuggingFace Tests
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy ivyllc/ivy:latest scripts/shell/run_transpiler_tests.sh hf
kornia:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ivy
persist-credentials: false
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run Kornia Tests
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy ivyllc/ivy:latest scripts/shell/run_transpiler_tests.sh kornia