mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 09:39:25 +00:00
* fix(ci): pin iOS screenshot evidence harness * fix(ci): update screenshot harness checkout owner * fix(ci): register screenshot evidence entrypoint * fix(ci): keep screenshot argument parser private * test(ci): accept executable modes under restrictive umask
33 lines
818 B
TypeScript
33 lines
818 B
TypeScript
export type IosScreenshotTooling = {
|
|
xcode: string;
|
|
fastlane: string;
|
|
node: string;
|
|
};
|
|
|
|
export type IosScreenshotProvenance = {
|
|
targetSha: string;
|
|
workflowSha: string;
|
|
runId: string;
|
|
runAttempt: string | number;
|
|
tooling: IosScreenshotTooling;
|
|
};
|
|
|
|
export type XcresultSummary = {
|
|
testResult: string;
|
|
failedTests: number;
|
|
};
|
|
|
|
export function collectIosScreenshotEvidence(options: {
|
|
family: string;
|
|
screenshotDirectory: string;
|
|
xcresultDirectory: string;
|
|
outputDirectory: string;
|
|
provenance: IosScreenshotProvenance;
|
|
readXcresultSummary?: (resultPath: string) => XcresultSummary;
|
|
}): Record<string, unknown>;
|
|
|
|
export function reduceIosScreenshotEvidence(options: {
|
|
inputDirectory: string;
|
|
outputRoot: string;
|
|
expectedProvenance: IosScreenshotProvenance;
|
|
}): Record<string, unknown>;
|