File tree Expand file tree Collapse file tree 4 files changed +2
-2
lines changed Expand file tree Collapse file tree 4 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2828 name : " Pre-commit Check"
2929 script :
3030 - docker build --target dev -t elasticdl:dev -f elasticdl/docker/Dockerfile .
31- - docker run --rm -it -v $PWD:/work -w /work elasticdl:dev bash -c "pre-commit run --files $(find elasticdl/python model_zoo setup.py scripts/ -name '*.py' -print0 | tr '\0' ' ') $(find elasticdl/pkg -name '*.go' -print0 | tr '\0' ' ')"
31+ - docker run --rm -it -v $PWD:/work -w /work elasticdl:dev bash -c "pre-commit run --files $(find elasticdl/python elasticdl_preprocessing model_zoo setup.py scripts/ -name '*.py' -print0 | tr '\0' ' ') $(find elasticdl/pkg -name '*.go' -print0 | tr '\0' ' ')"
3232 - stage : tests
3333 name : " Tests"
3434 script :
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ go test -v -cover ./...
99popd
1010
1111# Python unittests
12- K8S_TESTS=True pytest elasticdl/python/tests --cov=elasticdl/python --cov-report=xml
12+ K8S_TESTS=True pytest elasticdl/python/tests elasticdl_preprocessing/tests --cov=elasticdl/python --cov-report=xml
1313mv coverage.xml shared
You can’t perform that action at this time.
0 commit comments