4 ms·
"What if it was possible to have a local build system that would run tests etc and provide a cryptographically secure hash proving that the tests passed" On wh
by oldjavacoder 4y ago
"What if it was possible to have a local build system that would run tests etc and provide a cryptographically secure hash proving that the tests passed"
On who's system? Your? Mine? Someone else's? The purpose of CI is consistent continuous integration in a same like manner, not relying on developer A, B or C's systems which may vary greatly.
- Arbortheus 4y agoIf your tests ran in a sandbox, for instance the Bazel sandbox or a Docker container, and this has the same configuration on CI and on the local machine, then it does not matter if the tests ran in CI or on a developer's machine. This falls apart for things like integration tests, which may be too large/complex/interconnected to work on a local machine, but most of the time this would be more than sufficient.