FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Example: violate the maintainability threshold by sgb-io · Pull Request #7 · sgb-io/codehawk-cli-example · GitHub

Example: violate the maintainability threshold - #7

Open
sgb-io wants to merge 6 commits into
masterfrom
example/maintainability-threshold
Open

Example: violate the maintainability threshold#7
sgb-io wants to merge 6 commits into
masterfrom
example/maintainability-threshold

Conversation

sgb-io commented Jan 3, 2021
edited
Loading

Copy link
Copy Markdown
Owner

This PR demonstrates how codehawk-cli will cause your CI build to fail if you violate the maintainbility threshold that you have set.

This project has the minimumThreshold set to 50 (see codehawk.json). This PR causes the worst case to go below this, in turn the CLI exits with an exit code of 1.

Build output:

$ codehawk src
[codehawk-cli] Worst case (15.69100965267355) was below the minimum threshold (50)
error Command failed with exit code 1.
Error: Process completed with exit code 1.

Note: this PR needs to be closed and re-opened to re-generate the CI output after 90 days (this is the max expiry on github build logs)

sgb-io closed this Mar 29, 2022
sgb-io reopened this Mar 29, 2022
sgb-io closed this Jun 29, 2022
sgb-io reopened this Jun 29, 2022
sgb-io closed this Jun 29, 2022
sgb-io reopened this Jun 29, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL