1234567891011121314151617181920212223242526272829303132333435363738 |
- name: Formatting
- on:
- pull_request:
- branches:
- '**'
- merge_group:
- branches: [ master ]
- schedule:
- - cron: "0 0 * * *"
- 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@v3
- - name: environment
- run: |
- which python
- python --version
- - name: Install deepspeed
- run: |
- pip install .[dev,autotuning,triton]
- ds_report
- - name: Formatting checks
- run: |
- pip show pre-commit clang-format
- pre-commit run --all-files
|