test: Add isort check to CI/CD.
Some checks failed
Testing / pytest (push) Successful in 29s
Testing / mypy (push) Successful in 34s
Testing / style-formatting (push) Failing after 37s
Testing / style-sorted-imports (push) Failing after 26s
Testing / stability-extra-test (push) Successful in 31s

This commit is contained in:
Sergio Martínez Portela 2024-08-18 22:31:33 +02:00
parent 2ec354c6c7
commit a5c9680798

View File

@ -23,7 +23,7 @@ jobs:
- run: pip install mypy - run: pip install mypy
- run: mypy org_rw --check-untyped-defs - run: mypy org_rw --check-untyped-defs
formatting: style-formatting:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
@ -33,6 +33,16 @@ jobs:
- run: pip install black - run: pip install black
- run: black --check . - run: black --check .
style-sorted-imports:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: apt-get update && apt-get install -y python3-pip
- run: pip install -e .
- run: pip install isort
- run: isort --check .
stability-extra-test: stability-extra-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: