mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
ci: park timing summary collection (#96930)
This commit is contained in:
@@ -2419,7 +2419,8 @@ jobs:
|
||||
- macos-swift
|
||||
- ios-build
|
||||
- android
|
||||
if: ${{ !cancelled() && always() && github.event_name != 'push' && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
|
||||
# Re-enable this job when we want to collect CI timing data for timing optimization.
|
||||
if: ${{ false && !cancelled() && always() && github.event_name != 'push' && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
|
||||
@@ -573,7 +573,11 @@ describe("ci workflow guards", () => {
|
||||
expect(runStep.run).toContain("childEnv[key] = value");
|
||||
});
|
||||
|
||||
it("uploads a CI timing summary after the run lanes finish", () => {
|
||||
it("keeps the CI timing summary parked for timing optimization work", () => {
|
||||
expect(readFileSync(".github/workflows/ci.yml", "utf8")).toContain(
|
||||
"Re-enable this job when we want to collect CI timing data for timing optimization.",
|
||||
);
|
||||
|
||||
const workflow = readCiWorkflow();
|
||||
const timingJob = workflow.jobs["ci-timings-summary"];
|
||||
|
||||
@@ -598,6 +602,7 @@ describe("ci workflow guards", () => {
|
||||
"ios-build",
|
||||
"android",
|
||||
]);
|
||||
expect(timingJob.if).toContain("false");
|
||||
expect(timingJob.if).toContain("always()");
|
||||
expect(timingJob.if).toContain("!cancelled()");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user