akash_rawal@lemmy.worldtoProgrammer Humor@programming.dev•"GitHub CI is easy", he said. "It's just `bash` ", he said.
0·
8 days agoTime for the yearly barrage of “Setup CI”…“Fix CI” commits.
That is my experience with basically every CI service out there.
We test our code locally, but we cannot test the workflow. By definition, testing the workflow has to be done on a CI-like system.
There is nektos/act for running github actions locally, it works for simple cases. There still are many differences between act and github actions.
It might be possible for a CI to define workflow steps using Containerfile/Dockerfile. Such workflows would be reproducible locally.