Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 committed Sep 8, 2023
1 parent c2244a1 commit 8f12867
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,17 @@ jobs:
git diff --exit-code
- name: Check module imports with isort
if: matrix.CODE_COVERAGE == 'ON'
run: |
python3 -m pip install isort
python3 -m isort . --check-only --diff
python3 -m isort example --check-only --diff
python3 -m isort tests --check-only --diff
- name: Check formatting with black
if: matrix.CODE_COVERAGE == 'ON'
uses: psf/black@stable
with:
src: "./example ./tests"

- name: Generate coverage reports
if: matrix.CODE_COVERAGE == 'ON'
Expand Down

0 comments on commit 8f12867

Please sign in to comment.