feat: add retry test inject failure midway in gRPC ReadObject #1263
Workflow file for this run
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: Lint CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
psf-black: | |
name: Format with psf-black | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install Black and ISort | |
run: pip install black==22.3.0 isort==5.12.0 | |
- name: Sort Imports | |
run: git ls-files -z | grep -Ez -v '(pb2|pb2_grpc)\.py$' | grep -z '\.py$' | xargs -0 python3 -m isort --quiet | |
- name: Format Python Code | |
run: git ls-files -z | grep -Ez -v '(pb2|pb2_grpc)\.py$' | grep -z '\.py$' | xargs -0 python3 -m black --quiet | |
- name: Check Differences After Formatting | |
run: git diff --ignore-submodules=all --color --exit-code . |