Skip to content

Commit

Permalink
Add if always for linter steps
Browse files Browse the repository at this point in the history
  • Loading branch information
nailend committed Aug 16, 2023
1 parent c1ed29e commit a21ab7f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ jobs:
- name: Install Python dependencies
run: pip install black flake8 isort

- name: Lint
run: |
black --check .
flake8 data_adapter_oemof tests
isort --verbose --check-only --diff data_adapter_oemof tests
- name: Black
if: always()
run: black --check .

- name: flake8
if: always()
run: flake8 data_adapter_oemof tests

- name: isort
if: always()
run: isort --verbose --check-only --diff data_adapter_oemof tests

0 comments on commit a21ab7f

Please sign in to comment.