Skip to content

Commit

Permalink
Fix GitHub Actions running flake8 twice
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Jul 2, 2023
1 parent 46ead13 commit 60b3c69
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CONT_TAG=suse/qac/pcw

.PHONY: all
all: prepare test pylint
all: prepare flake8 test pylint

.PHONY: prepare
prepare:
Expand All @@ -12,12 +12,15 @@ prepare:
pylint:
pylint ocw/lib/*.py cleanup_k8s.py

.PHONY: test
test:
.PHONY: flake8
flake8:
flake8 --max-line-length=130 webui
flake8 --max-line-length=130 ocw
flake8 --max-line-length=130 manage.py
flake8 --max-line-length=130 cleanup_k8s.py

.PHONY: test
test:
pytest --cov

.PHONY: codecov
Expand Down

0 comments on commit 60b3c69

Please sign in to comment.