Repository navigation
ci: add Codecov, SonarCloud and Codacy badges #25
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Contributing | ||
|
|
||
| Report bugs and request features in | ||
| [GitHub issues](https://github.com/EquityBot/Alcuin/issues). For a suspected | ||
| security vulnerability, follow [SECURITY.md](SECURITY.md) instead of opening an | ||
| issue. | ||
|
|
||
| ## Pull requests | ||
|
|
||
| Propose changes as a pull request against `main`. A change lands on `main` only | ||
| when the `check (ubuntu-latest)` and `check (windows-latest)` checks from | ||
| [ci.yml](.github/workflows/ci.yml) and the `Attribution policy` check pass. The | ||
| attribution check fails a pull request whose title, commit trailers or | ||
| identities credit an AI tool. | ||
|
|
||
| Run what CI runs before opening one: | ||
|
|
||
| ```bash | ||
| cargo fmt --check | ||
| cargo clippy --all-targets --locked -- -D warnings | ||
| cargo test --locked | ||
| ``` | ||
|
|
||
| New functionality and bug fixes come with automated tests, in `tests/` or the | ||
| module's `#[cfg(test)]` tests, run by `cargo test --locked` in CI. | ||
|
|
||
| CI runs the offline tests only. Tests that need a signed-in browser or a live | ||
| provider are marked `#[ignore]` and run only on request, with your own | ||
| accounts. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,8 +9,8 @@ | |
|
|
||
| <div align="center"> | ||
|
|
||
| [](https://github.com/EquityBot/Industrious/actions/workflows/ci.yml) [](https://github.com/EquityBot/Industrious/actions/workflows/codeql.yml) [](https://github.com/EquityBot/Alcuin/actions/workflows/snyk.yml)<br> | ||
| [](https://scorecard.dev/viewer/?uri=github.com/EquityBot/Industrious)<br> | ||
| [](https://github.com/EquityBot/Alcuin/actions/workflows/ci.yml) [](https://codecov.io/gh/EquityBot/Alcuin) [](https://github.com/EquityBot/Alcuin/actions/workflows/codeql.yml) [](https://github.com/EquityBot/Alcuin/actions/workflows/snyk.yml) [](https://sonarcloud.io/summary/new_code?id=EquityBot_Industrious) [](https://app.codacy.com/gh/EquityBot/Alcuin/dashboard)<br> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM RISK Update the SonarCloud badge URL and link to the current project's SonarCloud identifier.
|
||
| [](https://scorecard.dev/viewer/?uri=github.com/EquityBot/Alcuin)<br> | ||
| [](https://www.rust-lang.org/) [](LICENSE) | ||
|
|
||
| </div> | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Codecov reports coverage for the README badge. Its statuses are | ||
| # informational, so it never decides a merge, and it posts no comments. | ||
| coverage: | ||
| status: | ||
| project: | ||
| default: | ||
| informational: true | ||
| patch: | ||
| default: | ||
| informational: true | ||
| comment: false |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 HIGH RISK
Use the actual rustup component name,
llvm-tools-preview, so the Linux CI leg can initialize coverage tooling.TIPReact 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.