test: Add isort check to CI/CD.

This commit is contained in:
Sergio Martínez Portela 2024-08-18 22:31:33 +02:00
parent 1985b3b0c9
commit c5e18d3219

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
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -32,6 +32,15 @@ jobs:
- run: pip install black - run: pip install black
- run: black --check . - run: black --check .
style-sorted-imports:
runs-on: ubuntu-latest
- 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: