logoalt Hacker News

zahlmanlast Tuesday at 6:11 PM3 repliesview on HN

Meanwhile I'm just running `pytest`, `pyproject-build`, `twine` etc. at the command line....

(People seem to object to this comment. I genuinely do not understand why.)


Replies

pseudosavantlast Tuesday at 6:46 PM

It passes on my machine. YOLO!

colechristensenlast Tuesday at 7:04 PM

You don't trust devs to run things, to have git hooks installed, to have a clean environment, to not have uncommitted changes, to not have a diverging environment on their laptop.

Actions let you test things in multiple environments, to test them with credentials against resources devs don't have access to, to do additional things like deploys, managing version numbers, on and on

With CI, especially pull requests, you can leave longer running tests for github to take care of verifying. You can run periodic tests once a day like an hour long smoke test.

CI is guard rails against common failure modes which turn requiring everyone to follow an evolving script into something automatic nobody needs to think about much

show 1 reply
misnomelast Tuesday at 6:33 PM

Because you appear completely oblivious and deliberately naive about the entire purpose of CI.

show 1 reply