test: update all transpiler tests to run on both python 3.10 and 3.12 #29503
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: duplication | |
on: | |
push: | |
branches: | |
main | |
pull_request: | |
permissions: | |
actions: read | |
jobs: | |
duplicate-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Ivy 🛎 | |
uses: actions/checkout@v3 | |
with: | |
path: ivy | |
persist-credentials: false | |
fetch-depth: 100 | |
- name: Check Duplicate Function | |
id: tests | |
run: | | |
cd ivy | |
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis ivyllc/ivy:latest python3 scripts/duplicate.py | |
continue-on-error: true | |
- name: Check on failures | |
if: steps.tests.outcome != 'success' | |
run: exit 1 |