Apollo PR can be merged depend on CI result and CLA.
Apollo CI will run following steps:
- Build your PR code merged master
- Lint your PR code include cc, h, py, BUILD, etc
- Run all unit tests in apollo project
So we recommend you can run
./apollo.sh lint
./apollo.sh build
./apollo.sh test
before commit your code.
When the CI failed of you PR, you can enter Details
Now you are coming into our CI system, enter Build Log
to see detail fail log.
This is due to lint error, we obey Google code style. So the header file shoud be reordered followed the suggestion. If you can't find the suggestion, please turn the log up and seek carefully.
This is due to unit test fail. Read the test log carefully, you can correct the unit test. Specially timeout happened, you can try change BUILD size small to large, hope it works.
If more complicated situation happened, welcome commonent in your PR.