Skip to content

Commit 8b4cc1a

Browse files
committed
Revert "Remove code climate references"
This reverts commit 1a893fc.
1 parent 1a893fc commit 8b4cc1a

File tree

7 files changed

+30
-9
lines changed

7 files changed

+30
-9
lines changed

.github/workflows/build-and-test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,21 @@ jobs:
7777
version: latest
7878
working-directory: ${{ matrix.go-module }}
7979
args: "--verbose --print-issued-lines --print-linter-name --out-${NO_FUTURE}format colored-line-number --timeout 300s --max-issues-per-linter 0 --max-same-issues 0"
80+
# FIXME Send coverage to code climate
81+
#
82+
# - if: ${{ startsWith(matrix.os, 'ubuntu') }}
83+
# name: Test [${{ matrix.go-module }} on ${{ matrix.os }}] & Publish Code Coverage
84+
# uses: paambaati/[email protected]
85+
# env:
86+
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
87+
# with:
88+
# debug: true
89+
# workingDirectory: ${{ matrix.go-module }}
90+
# coverageCommand: go test -race -cover -v -coverprofile ${{ matrix.go-module }}_coverage.out ./...
91+
# prefix: github.com/ARM-software/${{ github.event.repository.name }}/${{ matrix.go-module }}
92+
# coverageLocations:
93+
# "${{github.workspace}}/${{ matrix.go-module }}/${{ matrix.go-module }}_coverage.out:gocov"
94+
# - if: ${{ startsWith(matrix.os, 'windows') || startsWith(matrix.os, 'macOS') }}
8095
- name: Test ${{ matrix.go-module }} on ${{ matrix.os }}
8196
run: go test -race -cover -v ./...
8297
working-directory: ${{ matrix.go-module }}

.secrets.baseline

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@
6666
{
6767
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
6868
},
69-
{
70-
"path": "detect_secrets.filters.common.is_baseline_file",
71-
"filename": ".secrets.baseline"
72-
},
7369
{
7470
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
7571
"min_level": 2
@@ -149,5 +145,5 @@
149145
}
150146
]
151147
},
152-
"generated_at": "2025-06-13T15:38:25Z"
148+
"generated_at": "2025-05-17T07:56:49Z"
153149
}

DEVELOPMENT.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ If you want to manually run all pre-commit hooks on a repository without creatin
4949

5050
To run individual hooks use `pre-commit run <hook_id>`.
5151

52+
## Code Climate
53+
54+
Code Climate is integrated with our GitHub flow. Failing the configured rules will yield a pull request not mergeable.
55+
56+
If you prefer to view the Code Climate report on your machine, prior to sending a pull request, you can use the [cli provided by Code Climate](https://docs.codeclimate.com/docs/command-line-interface).
57+
58+
Plugins for various tools are also available:
59+
- [Atom](https://docs.codeclimate.com/docs/code-climate-atom-package)
60+
- [PyCharm](https://plugins.jetbrains.com/plugin/13306-code-cleaner-with-code-climate-cli)
61+
- [Vim](https://docs.codeclimate.com/docs/vim-plugin)
62+
5263
# Dependency upgrades
5364

5465
For dependency upgrades, dependabot is relied upon and news files are auto-generated in order to document such change. Nonetheless, due to a change in [GitHub actions](https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions), secrets are not available in the build triggered by the pull request unless they are [re-run manually](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#manually-re-running-a-workflow). So please re-run every dependabot PR CI jobs.

changes/20250613163814.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/extension_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ import (
1111
)
1212

1313
func TestClientExtension(t *testing.T) {
14-
// Placeholder test for Qlty Cloud
14+
// Placeholder test for codeclimate
1515
require.Nil(t, nil)
1616
}

extensions/extension_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ import (
1111
)
1212

1313
func TestClientExtension(t *testing.T) {
14-
// Placeholder test for Qlty Cloud
14+
// Placeholder test for codeclimate
1515
require.Nil(t, nil)
1616
}

generator/codegen/static/extension_test.go.static

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ import (
1111
)
1212

1313
func TestClientExtension(t *testing.T) {
14-
// Placeholder test for Qlty Cloud
14+
// Placeholder test for codeclimate
1515
require.Nil(t, nil)
1616
}

0 commit comments

Comments
 (0)