Add nodelist flag to srun #841
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: code_style | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: . | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v3 | |
- name: install dependencies | |
run: pip install --upgrade black==19.10b0 click==8.0.2 | |
- name: code style check | |
run: black . --check --verbose --diff | |
working-directory: ${{env.working-directory}} |