File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,10 @@ install-dev:
77 @for f in $(shell ls ${SERVICES_DIR}) ; do pip install -e ${SERVICES_DIR} /$$ {f}[dev]; done
88
99test :
10- @for f in $(shell ls ${SERVICES_DIR}) ; do cd ${SERVICES_DIR} /$$ {f}; pytest; cd ../..; done
10+ @for f in $(shell ls ${SERVICES_DIR}) ; do set -e ; cd ${SERVICES_DIR} /$$ {f}; sh -c ' pytest || ([ $$? = 5 ] && exit 0 || exit $$?) ' ; cd ../..; done
1111
1212lint :
1313 # lint examples
1414 flake8 --toml-config $(word 1, $(wildcard $(SERVICES_DIR ) /* ) ) /pyproject.toml --black-config $(word 1, $(wildcard $(SERVICES_DIR ) /* ) ) /pyproject.toml examples;
1515 # lint services
16- @for f in $(shell ls ${SERVICES_DIR}) ; do cd ${SERVICES_DIR} /$$ {f}; flake8 . ; cd ../..; done
17-
16+ @for f in $(shell ls ${SERVICES_DIR}) ; do set -e; cd ${SERVICES_DIR} /$$ {f}; flake8 . ; cd ../..; done
You can’t perform that action at this time.
0 commit comments