logoalt Hacker News

nomilktoday at 4:12 PM3 repliesview on HN

Running tests locally. It's primitive, but incredibly reliable, and a breeze to debug if (big if) there is any dependency issue.


Replies

gchamonlivetoday at 6:37 PM

I have Gitlab with a runner on a notebook I have running as a server. Pretty solid and if you need to bail on Gitlab SaaS you can BYOI and selfhost. Plus the CI is many streets ahead of GitHub in terms of pretty much everything.

xixixaotoday at 4:46 PM

How do you ensure you or your contributors didn’t forget to run the tests?

You’d need at least some hash of sources + test results, and check that it matches that (in CI).

And you’d still deal with environment differences.

show 1 reply
csomartoday at 5:39 PM

So you switched to nothing? That’s not the purpose of github actions or remote ci/cd. Anyone can run tests/builds locally.

show 1 reply