checks.ci.CICheck

checks.ci.CICheck()

Check for continuous integration configuration.

Searches the project root for the configuration files of common CI providers such as GitHub Actions, GitLab CI or CircleCI. The check is about presence only: it does not read what the configuration runs.

Attributes

name :

The check identifier (“ci”).

description :

Human-readable description of this check.

rules :

The codes this check can report.

hints :

What to do about each code.

Methods

Name Description
run Check for CI configuration presence.

run

checks.ci.CICheck.run(package_path, config)

Check for CI configuration presence.

Parameters

package_path : Path

Path to the package directory to check.

config : dict[str, Any]

Configuration dictionary for this check.

Returns

: CheckResult

A CheckResult with:

: CheckResult
  • OK status if CI configuration is found
: CheckResult
  • NOTE status if no CI configuration detected