open source ivy's transpiler #11
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
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 |