validate_actions.globals.validation_result¶
Result of validating a single workflow file.
Classes
|
Result of validating a single workflow file. |
- class validate_actions.globals.validation_result.ValidationResult(file, problems, max_level, error_count, warning_count)[source]¶
Bases:
objectResult of validating a single workflow file.
- Parameters:
file (Path)
problems (Problems)
max_level (ProblemLevel)
error_count (int)
warning_count (int)
- file¶
Path to the validated workflow file
- Type:
pathlib.Path
- max_level¶
Highest severity level encountered
- Type:
- error_count¶
Number of errors found
- Type:
int
- warning_count¶
Number of warnings found
- Type:
int