diff --git a/Makefile b/Makefile index 3d2687d0..3f071fa4 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,10 @@ install-dev: @for f in $(shell ls ${SERVICES_DIR}); do pip install -e ${SERVICES_DIR}/$${f}[dev]; done test: - @for f in $(shell ls ${SERVICES_DIR}); do cd ${SERVICES_DIR}/$${f}; pytest; cd ../..; done + @for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f}; sh -c 'pytest || ([ $$? = 5 ] && exit 0 || exit $$?)'; cd ../..; done lint: # lint examples flake8 --toml-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml --black-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml examples; # lint services - @for f in $(shell ls ${SERVICES_DIR}); do cd ${SERVICES_DIR}/$${f}; flake8 .; cd ../..; done - + @for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};flake8 .; cd ../..; done \ No newline at end of file