Skip to content

ci: fix invalid ci.yml so the workflow loads again#110

Merged
spMohanty merged 1 commit into
mainfrom
dev/ci-fix-workflow-yaml
Jun 1, 2026
Merged

ci: fix invalid ci.yml so the workflow loads again#110
spMohanty merged 1 commit into
mainfrom
dev/ci-fix-workflow-yaml

Conversation

@spMohanty

Copy link
Copy Markdown
Collaborator

Summary

flopscope CI has been failing to load ("workflow file issue", 0 jobs) on every push/PR since these YAML errors landed — so no flopscope PR can get CI. Three defects in .github/workflows/ci.yml:

  1. Invalid top-level timeout-minutes: 240 — not a valid top-level GitHub Actions key (each job already sets its own).
  2. Unquoted colons in 8 NumPy compat: … step namesmapping values are not allowed here.
  3. Flush-left heredoc Python in the ci-cost-report job's run: | block → terminates the block scalar early. Re-indented to the block level (YAML strips it back, so the shell still receives flush-left content + the PY terminator).

Validated with PyYAML: the file now parses cleanly, all 10 jobs intact, no logic changes.

Please merge this first

CI is self-blocked (the broken workflow can't run to validate its own fix), so this needs review-and-merge on inspection. Once it's on main, CI is restored repo-wide and the feature PR (#109) — plus everything else — will run.

CI has failed to load ("workflow file issue", 0 jobs) on every push/PR
since these YAML errors landed, so no flopscope PR can get CI. Three
defects in .github/workflows/ci.yml:

1. invalid top-level `timeout-minutes: 240` (not a valid top-level key;
   each job already sets its own).
2. unquoted colons in 8 "NumPy compat: ..." step names
   (YAML: mapping values are not allowed here).
3. flush-left heredoc Python in the ci-cost-report run block, ending the
   block scalar early; re-indented to the block level (YAML strips it, so
   the shell still receives flush-left content + the PY terminator).

Validated with PyYAML: parses cleanly, all 10 jobs intact, no logic change.
@spMohanty spMohanty merged commit 356c040 into main Jun 1, 2026
22 checks passed
@spMohanty spMohanty deleted the dev/ci-fix-workflow-yaml branch June 1, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant