Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Fix commit testing #646

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evrardjp
Copy link
Contributor

@evrardjp evrardjp commented Mar 3, 2021

Currently, the testing of commits is in CI, and is CI
dependent.

This is a problem if we switch to a new CI, or if someone
wants to test locally.

This fixes it by making sure the test/test-commit-message
can be triggered locally, and finds the new commits.
As a side benefit, test/test-commit-message easier to understand:
It compares the HEAD of the branch until reaching a common
ancestor in origin, listing all the SHAs, and send those to
the testing functions.

Closes: #643

@evrardjp evrardjp force-pushed the fix-commit-message-testing branch 12 times, most recently from bbf42a8 to 331d10e Compare March 5, 2021 07:44
@evrardjp
Copy link
Contributor Author

evrardjp commented Mar 5, 2021

Removed the BREAK stuff patch, which is failing (on purpose).
This is good to go.

Currently, the testing of commits is in CI, and is CI
dependent.

This is a problem if we switch to a new CI, or if someone
wants to test locally.

This fixes it by making sure the test/test-commit-message
can be triggered locally, and finds the new commits.
As a side benefit, test/test-commit-message easier to understand:
It compares the HEAD of the branch until reaching a common
ancestor in origin, listing all the SHAs, and send those to
the testing functions.
@evrardjp
Copy link
Contributor Author

evrardjp commented Mar 5, 2021

Updated: Was broken because I was using spaces. Replaced spaces with tabs. Yes, I had to sell my soul for this patch to land. 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly test commit messages on branch push
1 participant