Skip to content

[WIP] A test case to show how to use DeviceMesh API to create the customized PG #145

[WIP] A test case to show how to use DeviceMesh API to create the customized PG

[WIP] A test case to show how to use DeviceMesh API to create the customized PG #145

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: x64
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: |
set -eux
sudo apt-get install -y protobuf-compiler
pip install lintrunner lintrunner-adapters
lintrunner init
pip install .[dev] -v
- name: Run lintrunner
run: |
set -eux
lintrunner --skip PYRE --force-color --all-files
- name: Run pyre
run: |
set -eux
pyre check
- name: Run Rust Lint
run: |
set -eux
cargo fmt --check