Skip to content

fix(ci): deduplicate workflows by removing ci.yml#257

Open
mvillmow wants to merge 1 commit into
mainfrom
151-auto-impl
Open

fix(ci): deduplicate workflows by removing ci.yml#257
mvillmow wants to merge 1 commit into
mainfrom
151-auto-impl

Conversation

@mvillmow

@mvillmow mvillmow commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Eliminates duplicate lint, test, and secrets-scan jobs that run twice on every push/PR by deleting .github/workflows/ci.yml and preserving the strict superset _required.yml.

  • ci.yml jobs: lint-and-test, secrets-scan
  • _required.yml jobs: lint, unit-tests, security/secrets-scan, plus 10 additional gates
  • All jobs in ci.yml are redundant with jobs in _required.yml

Changes

  1. Deleted .github/workflows/ci.yml — all jobs are duplicates of _required.yml
  2. Added coverage reporting to _required.yml — append --cov=telemachy --cov-report=term-missing to pytest in unit-tests job to preserve coverage signal

Verification

✓ No duplicate jobs (enumerated via YAML parse)
✓ YAML syntax valid (yamllint + python parser)
✓ Coverage signal preserved (grep for flag)
✓ No stale references to deleted workflow

Note for Operators

If branch protection rules currently reference the now-deleted check names Lint & Test or secrets-scan (from ci.yml), they must be re-pointed to the surviving check names from _required.yml:

  • lint
  • unit-tests
  • security/secrets-scan

(No such rules are currently configured in this repo.)

Closes #151

@mvillmow mvillmow left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — ci.yml (inferior duplicate) deleted, _required.yml superset retained, coverage flag preserved at _required.yml:185; no stale refs to deleted check names.

Delete .github/workflows/ci.yml (duplicate of _required.yml) and add
coverage reporting flags to the surviving _required.yml unit-tests job
to preserve coverage signal.

Closes #151

Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MINOR] §6: ci.yml and _required.yml duplicate lint, test, and secrets scanning jobs

1 participant