Control the kernel injection with new argument. And compare the outputs only on rank 0 #627
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: Formatting | |
on: | |
push: | |
branches: | |
- 'staging**' | |
pull_request: | |
branches: | |
'**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# formatting and basic install on cpu-only machine | |
formatting: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: environment | |
run: | | |
which python | |
python --version | |
pip install pre-commit>=2.20.0 | |
- name: Formatting checks | |
run: | | |
pre-commit run --all-files |