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:
7
7
@for f in $(shell ls ${SERVICES_DIR}) ; do pip install -e ${SERVICES_DIR} /$$ {f}[dev]; done
8
8
9
9
test :
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
11
11
12
12
lint :
13
13
# lint examples
14
14
flake8 --toml-config $(word 1, $(wildcard $(SERVICES_DIR ) /* ) ) /pyproject.toml --black-config $(word 1, $(wildcard $(SERVICES_DIR ) /* ) ) /pyproject.toml examples;
15
15
# 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