r/github • • May 16 '26

Question Is adding tests/ folder to professional repo deemed professional?

I use Codex a lot, and it is absolutely INFATUATED with adding tests for EVERY SINGLE FEATURE in the tests/ folder. So, I was just wondering due to how stupid this is (I mean noone really cares for tests if they are cloning or looking at a repo, I would assume), should I add the folder to .gitignore? Is it gonna be more professional to NOT have it in the repo at all?

Mind you this is for my official like rest-of-life official and professional github account so was just wondering about your guys' thoughts on this.

0 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/Zealousideal_Yard651 May 16 '26

Not only do you need to push it to the repo, you schould also build the tests into your GH Actions so you always test your new code.