-
Notifications
You must be signed in to change notification settings - Fork 73
Replace Codecov with Qlty for code quality and coverage #387
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
Open
akostadinov-bot
wants to merge
4
commits into
main
Choose a base branch
from
replace-codecov-with-qlty
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+188
−22
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
086ce58
Replace Codecov with Qlty for code quality and coverage
aaeb142
Split CI workflows: manual approval for PRs, auto-run for main
1e4c60b
fix(ci): use HTTPS checkout, upload coverage from all test jobs
5c99bb8
revert(ci): remove HTTPS checkout workaround
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| # This file was automatically generated by `qlty init`. | ||
| # You can modify it to suit your needs. | ||
| # We recommend you to commit this file to your repository. | ||
| # | ||
| # This configuration is used by both Qlty CLI and Qlty Cloud. | ||
| # | ||
| # Qlty CLI -- Code quality toolkit for developers | ||
| # Qlty Cloud -- Fully automated Code Health Platform | ||
| # | ||
| # Try Qlty Cloud: https://qlty.sh | ||
| # | ||
| # For a guide to configuration, visit https://qlty.sh/d/config | ||
| # Or for a full reference, visit https://qlty.sh/d/qlty-toml | ||
| config_version = "0" | ||
|
|
||
| exclude_patterns = [ | ||
| "*_min.*", | ||
| "*-min.*", | ||
| "*.min.*", | ||
| "**/.yarn/**", | ||
| "**/*.d.ts", | ||
| "**/assets/**", | ||
| "**/bower_components/**", | ||
| "**/build/**", | ||
| "**/cache/**", | ||
| "**/config/**", | ||
| "**/db/**", | ||
| "**/deps/**", | ||
| "**/dist/**", | ||
| "**/extern/**", | ||
| "**/external/**", | ||
| "**/generated/**", | ||
| "**/Godeps/**", | ||
| "**/gradlew/**", | ||
| "**/mvnw/**", | ||
| "**/node_modules/**", | ||
| "**/protos/**", | ||
| "**/seed/**", | ||
| "**/target/**", | ||
| "**/templates/**", | ||
| "**/testdata/**", | ||
| "**/vendor/**", | ||
| ] | ||
|
|
||
| test_patterns = [ | ||
| "**/test/**", | ||
| "**/spec/**", | ||
| "**/*.test.*", | ||
| "**/*.spec.*", | ||
| "**/*_test.*", | ||
| "**/*_spec.*", | ||
| "**/test_*.*", | ||
| "**/spec_*.*", | ||
| ] | ||
|
|
||
| [smells] | ||
| mode = "comment" | ||
|
|
||
| [[source]] | ||
| name = "default" | ||
| default = true | ||
|
|
||
|
|
||
| [[plugin]] | ||
| name = "actionlint" | ||
|
|
||
| [[plugin]] | ||
| name = "hadolint" | ||
|
|
||
| [[plugin]] | ||
| name = "osv-scanner" | ||
|
|
||
| [[plugin]] | ||
| name = "radarlint-iac" | ||
| mode = "monitor" | ||
|
|
||
| [[plugin]] | ||
| name = "ripgrep" | ||
| mode = "comment" | ||
|
|
||
| [[plugin]] | ||
| name = "reek" | ||
|
|
||
| [[plugin]] | ||
| name = "rubocop" | ||
| version = "1.75.2" | ||
|
|
||
| [[plugin]] | ||
| name = "shellcheck" | ||
|
|
||
| [[plugin]] | ||
| name = "trufflehog" | ||
|
|
||
| [[plugin]] | ||
| name = "zizmor" |
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 |
|---|---|---|
|
|
@@ -18,12 +18,16 @@ | |
| require 'dotenv' | ||
| Dotenv.load | ||
|
|
||
| # Codecov | ||
| require 'simplecov' | ||
| SimpleCov.start | ||
| if ENV['CI'] == 'true' | ||
| require 'codecov' | ||
| SimpleCov.formatter = SimpleCov::Formatter::Codecov | ||
| if ENV['COVERAGE'] && !ENV['COVERAGE'].empty? | ||
| require 'simplecov' | ||
| require 'simplecov_json_formatter' | ||
| SimpleCov.start do | ||
| formatter SimpleCov::Formatter::MultiFormatter.new([ | ||
| SimpleCov::Formatter::JSONFormatter, | ||
| SimpleCov::Formatter::HTMLFormatter | ||
| ]) | ||
|
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. |
||
| add_filter '/spec/' | ||
| end | ||
| end | ||
|
|
||
| require 'webmock/rspec' | ||
|
|
||
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.
Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis. [rubocop:Layout/FirstArrayElementIndentation]