Documentation
¶
Overview ¶
Package ci provides CI/CD integration tools for PSL projects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatResults ¶
func FormatResults(results []ValidationResult) string
FormatResults formats validation results for CI output.
func GenerateJUnitXML ¶
func GenerateJUnitXML(results []ValidationResult) (string, error)
GenerateJUnitXML generates JUnit XML from validation results.
func GitHubActionsTemplate ¶
func GitHubActionsTemplate() string
GitHubActionsTemplate returns a GitHub Actions workflow template.
Types ¶
type Failure ¶
type Failure struct {
Message string `xml:"message,attr"`
Type string `xml:"type,attr"`
Body string `xml:",chardata"`
}
Failure represents a test failure.
type TestCase ¶
type TestCase struct {
Name string `xml:"name,attr"`
Time float64 `xml:"time,attr"`
Failure *Failure `xml:"failure,omitempty"`
}
TestCase represents a JUnit XML test case.
Click to show internal directories.
Click to hide internal directories.