Enable quality checks on branch push #241
Workflow file for this run
This file contains hidden or 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: quality | |
| on: | |
| push: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Python lint | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: lint | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| src: >- | |
| mygfa | |
| slow_odgi | |
| pollen_data_gen | |
| flatgfa-py | |
| - name: format | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "format --check --diff" | |
| src: >- | |
| mygfa | |
| slow_odgi | |
| pollen_data_gen | |
| flatgfa-py | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: types | |
| run: MYPYPATH=mygfa uv tool run mypy --no-namespace-packages --disallow-untyped-defs mygfa slow_odgi pollen_data_gen |