Skip to content

Add SHARD_GRAD_OP to device mesh error check (#3058) #935

Add SHARD_GRAD_OP to device mesh error check (#3058)

Add SHARD_GRAD_OP to device mesh error check (#3058) #935

name: PR Code Quality Checks
on:
push:
branches:
- dev
- main
- release/**
pull_request:
workflow_dispatch:
# Cancel old runs when a new commit is pushed to the same branch if not on main
# or dev
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}
jobs:
code-quality:
uses: ./.github/workflows/code-quality.yaml
strategy:
matrix:
python_version:
- "3.9"
- "3.10"
- "3.11"
pip_deps:
- "[dev]"
with:
python_version: ${{ matrix.python_version }}
pip_deps: ${{ matrix.pip_deps }}