Skip to content

Commit

Permalink
[TESTING] Possible fix for differing results in CI (- WIP #46 & #49 -)
Browse files Browse the repository at this point in the history
### ChangeLog:

Changes in file Makefile:
 test-style: cleanup must_have_flake
  • Loading branch information
reactive-firewall committed Aug 27, 2024
1 parent 8c0fa3c commit 6e1e6d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ test-style: cleanup must_have_flake
$(QUIET)$(ECHO) "$@: Done."

must_have_flake:
$(QUIET)runner=`python3 -m pip freeze --all | grep --count -oF flake` ; \
$(QUIET)runner=`$(PYTHON) -m pip freeze --all | grep --count -oF flake` ; \
if test $$runner -le 0 ; then $(ECHO) "No Linter found for test." ; exit 126 ; fi

must_have_pytest:
$(QUIET)runner=`python3 -m pip freeze --all | grep --count -oF pytest` ; \
$(QUIET)runner=`$(PYTHON) -m pip freeze --all | grep --count -oF pytest` ; \
if test $$runner -le 0 ; then $(ECHO) "No python framework (pytest) found for test." ; exit 126 ; fi

cleanup:
Expand Down

0 comments on commit 6e1e6d5

Please sign in to comment.