Skip to content

fix(get-item): Use dynamic shape rather than static (x.shape) when possible in _parse_query #72183

fix(get-item): Use dynamic shape rather than static (x.shape) when possible in _parse_query

fix(get-item): Use dynamic shape rather than static (x.shape) when possible in _parse_query #72183

name: test-docstrings
on:
push:
pull_request:
types: [opened, synchronize, reopened, review_requested]
workflow_dispatch:
jobs:
run-docstring-tests:
if: ${{(github.event_name == 'push') || contains(github.event.pull_request.labels.*.name, 'Exhaustive CI') || contains(github.event.pull_request.labels.*.name, 'Function Reformatting')}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: ivy
persist-credentials: false
submodules: "recursive"
- uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Run Docstring Tests
run: |
cd ivy
docker run --rm -i -v "$(pwd)":/ivy unifyai/ivy:latest python3 -m pytest ivy_tests/test_docstrings.py