rkotze / git-mob

Co-author commits tool. A cross-platform command-line tool for social coding. Includes co-authors in commits when pair/mob programming.
https://www.npmjs.com/package/git-mob
MIT License
182 stars 21 forks source link

CI Improvement for suggested co-authors #88

Open rkotze opened 1 year ago

rkotze commented 1 year ago

Context

Suggest-coauthors command lists the local contributors to the git repo. When testing in the CI it's important to check out the whole repository over just a single commit because a single commit will only contain one contributor. The tests check for an old contributor and so this will cause a failure. See here this publish failure.

Current mitigation

I've moved the minified test into the main CI to catch the issues earlier. However to have more control over the test data/environment a different solution might be helpful.

Suggested solution

Extend the temporarily created repo for testing to include commits with different authors. Then test one of them shows when running the suggest coauthors command.