take 2 #516
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: Checking Code Quality | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install test dependencies | |
run: poetry install | |
- name: Check black has been ran (make fmt) | |
run: poetry run black dpypelines tests --diff | |
- name: Check isort has been ran (make fmt) | |
run: poetry run isort dpypelines tests --diff --check-only | |
- name: Check ruff has been ran (make lint) | |
run: poetry run ruff check dpypelines tests |