Enabled *subset* of CPU unit tests in CI #45
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: Lint Code | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
if: false # Temporarily disable linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install linting dependencies | |
run: | | |
pip install black==24.10.0 isort==5.13.2 ruff==0.6.9 | |
- name: Run Black | |
run: | | |
black --check . | |
- name: Run isort | |
run: | | |
isort --check-only . | |
- name: Run Ruff | |
run: | | |
ruff check . |