Skip to content

feat: Added one more automated check to make the codebase better. #23446

feat: Added one more automated check to make the codebase better.

feat: Added one more automated check to make the codebase better. #23446

Workflow file for this run

name: duplicate-test-check
on:
pull_request:
permissions:
actions: read
jobs:
run-check:
if: contains(github.event.pull_request.labels.*.name, 'Exhaustive CI') || contains(github.event.pull_request.labels.*.name, 'Ivy API Experimental')
runs-on: ubuntu-latest
steps:
- name: Checkout Ivy 🛎
uses: actions/checkout@v2
with:
path: ivy
persist-credentials: false
submodules: "recursive"
fetch-depth: 100
- name: Check Duplicate Function
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 duplicate.py
continue-on-error: true
- name: Check on failures
if: steps.tests.outcome != 'success'
run: exit 1