Skip to content

Speed CI workflow: Divide tests into testing the codebase and testing the tutorials #904

Speed CI workflow: Divide tests into testing the codebase and testing the tutorials

Speed CI workflow: Divide tests into testing the codebase and testing the tutorials #904

Workflow file for this run

name: "Lint"
on:
push:
branches: [main,github-actions-test]
pull_request:
branches: [main]
jobs:
black-isort-flake8:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.11.3]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Linting
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: Install main package [pip]
run: |
pip install -e .[dev]
- name : linting [black, isort, flake8]
run: |
black . --check
isort --profile black --check .
flake8 .