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

[CONTRIBUTING.md] Suggest running gradle check before opening a PR #1240

Merged
merged 1 commit into from Apr 8, 2024

Conversation

krocard
Copy link
Contributor

@krocard krocard commented Apr 3, 2024

I opened a PR that didn't pass the CI (#1239) even after reading CONTRIBUTING.md:

Make sure all tests pass and you have a passing build for the whole project.

I did run ./gradlew test but the CI runs the superset ./gradlew check.

How about referencing the exact command to run before submitting the PR at the end of that line:

- 1. Make sure all tests pass and you have a passing build for the whole project.
+ 1. Make sure all tests pass and you have a passing build for the whole project (run `./gradlew check`).

It would also be nice to document ./gradlew apiDump (only found it after manually fixing the API file), but keeping the instructions short is probably better. What do you think? It's referenced in the ./gradlew check error message.

@krocard krocard marked this pull request as ready for review April 3, 2024 08:18
@krocard krocard changed the title Run gradle check when contributing [CONTRIBUTION.md] Suggest running gradle check before opening a PR Apr 3, 2024
@krocard krocard changed the title [CONTRIBUTION.md] Suggest running gradle check before opening a PR [CONTRIBUTING.md] Suggest running gradle check before opening a PR Apr 3, 2024
@krocard
Copy link
Contributor Author

krocard commented Apr 8, 2024

Any opinion on this change?

@Raibaz Raibaz merged commit 3d1cbd1 into mockk:master Apr 8, 2024
11 checks passed
@Raibaz
Copy link
Collaborator

Raibaz commented Apr 8, 2024

Sorry I forgot to click "merge" :)

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.

None yet

2 participants