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
Ensure contrib/scripts/lock-check.sh
runs as a precheck and as a GitHub Action
#11730
Comments
For what it's worth, this should be part of a standard
|
FWIW, the script is already invoked as part of the Lines 507 to 512 in e871f28
which in turn is part of the Line 130 in e871f28
which leaves me wondering why it only failed in the CI runtime test, but not Travis CI. |
Travis CI doesn't do a full |
contrib/scripts/lock-check.sh
to be a GitHub Action instead of being run during the Runtime testscontrib/scripts/lock-check.sh
runs as a precheck and as a GitHub Action
There's no reason to wait with running contrib/scripts/lock-check.sh and contrib/scripts/rand-check.sh until after the build (i.e. the postcheck target) as they are using only `grep` to check. Move them to the precheck target so these errors are caught earlier. Updates #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This will allow various issues before actually running the tests in our CI. Use `-j 2` since Travis CI usually runs on 2 cores and some parts of the build benefit from that. Updates #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
There's no reason to wait with running contrib/scripts/lock-check.sh and contrib/scripts/rand-check.sh until after the build (i.e. the postcheck target) as they are using only `grep` to check. Move them to the precheck target so these errors are caught earlier. Updates #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This will allow various issues before actually running the tests in our CI. Use `-j 2` since Travis CI usually runs on 2 cores and some parts of the build benefit from that. Updates #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
There's no reason to wait with running contrib/scripts/lock-check.sh and contrib/scripts/rand-check.sh until after the build (i.e. the postcheck target) as they are using only `grep` to check. Move them to the precheck target so these errors are caught earlier. Updates #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This will allow various issues before actually running the tests in our CI. Use `-j 2` since Travis CI usually runs on 2 cores and some parts of the build benefit from that. Updates #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Run `make precheck` as a GitHub action. This checks various formatting and package usage issues in Go code. Fixes #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Run `make precheck` as a GitHub action. This checks various formatting and package usage issues in Go code. Fixes #11730 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This would eliminate PRs like this in the future, and provide quicker feedback to the offending PR. #11729
Items:
The text was updated successfully, but these errors were encountered: