-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
I see that in the .travis.yaml file of SQLFlow, there is a line
It seems that our .travis.yaml doesn't have such a line
Lines 25 to 31 in 3a157c1
jobs: | |
include: | |
- stage: precommit | |
name: "Pre-commit Check" | |
script: | |
- docker build -t elasticdl:dev -f elasticdl/docker/Dockerfile.dev . | |
- 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' ' ')" |
If we add such a trick, would it accelerate the CI?
Metadata
Metadata
Assignees
Labels
No labels