Skip to content

feat: add frontend tests to CI #2

feat: add frontend tests to CI

feat: add frontend tests to CI #2

Workflow file for this run

name: frontend-tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
torch:
strategy:
matrix:
backend: [ "jax" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ivy
persist-credentials: false
- uses: actions/setup-python@v3
with:
python-version: 3.12
- name: Install Dependencies
run: |
cd ivy
python3 -m pip install -U -r requirements/requirements.txt
python3 -m pip install -U -r requirements/optional.txt
- name: Run Transformations Tests
id: tests
run: |
cd ivy
pytest ivy_tests\test_ivy\test_frontends\test_torch -p no:warnings --tb=no --backend ${{ matrix.backend }} --num-examples 4 --deadline 1000