| There are still multiple issues with that. 1. I still wouldn't put it past developers to lie occasionally. 2. You don't control the test environment. What if the tests pass on the developers machine but not on the CI machines? 3. Difficult to test on multiple platforms. What if the developer uses Mac but you need to support Windows too? 4. Testing can take a long time. Who wants to wait an hour to submit a minor PR? Plus it ties up resources on your machine. CI can automatically scale. 5. There's no way to avoid races between testing and integration (i.e. merge queues). CI isn't going anywhere. I think the biggest scope for improvement to CI is 1. Only testing things that have changed. Most people don't do that because it requires a build system that properly isolates everything. Basically only Bazel and it's derivatives do this. You can't do it with CMake or NPM or Cargo or ... 2. Make it easier to run CI on your own machine. I don't think there's really any technical barrier to this, it's just people don't usually bother. |
https://github.com/nektos/act/issues/235