Skip to content

ci(workflow): drop paths filter from unit-tests workflow - #386

Open
mrbobbytables wants to merge 1 commit into
projectbluefin:mainfrom
mrbobbytables:ci/unit-tests-drop-paths-filter
Open

mrbobbytables wants to merge 1 commit into
projectbluefin:mainfrom
mrbobbytables:ci/unit-tests-drop-paths-filter

Conversation

@mrbobbytables

Copy link
Copy Markdown
Contributor

Resolves #384

Summary

Drop the paths: filter from the pull_request and push triggers in .github/workflows/unit-tests.yml.

Rationale

The tests/unit/ BATS suite asserts against subjects across several directories outside the previous filter:

  • .github/actions/check-token-health/check_token_health.sh
  • .github/workflows/pr-validation.yml and .github/workflows/renovate.yml (via tests/unit/shellcheck-scope_test.bats)
  • custom/ujust/*.just
  • custom/brew/ and custom/flatpaks/ fixtures
  • .pre-commit-config.yaml

Changes touching these subjects previously bypassed the unit tests on PRs and pushes to main/stable. Because the suite is lightweight and fast (~45 seconds) and serves as the repository's sole unit gate, running it on all changes avoids trigger drift whenever tests or subjects are added or modified.

Verification

  • Local execution of bats tests/unit passed all 196 tests cleanly.
  • YAML syntax verified with Python yaml safe_load.

— hive: backend=copilot model=gemini-3.8-flash

🐝 Hive Agent: contributor | SHA: 13c0d1e

Drop the paths filter from pull_request and push triggers in
.github/workflows/unit-tests.yml so the unit test suite runs on all PRs
and pushes.

Tests in tests/unit cover subjects outside build/**, tests/**, and
Justfile (such as .github/actions/**, .github/workflows/*.yml,
custom/ujust/*.just, custom/brew/, and .pre-commit-config.yaml).
Because the unit test suite runs in under a minute, running it across all
changes prevents test drift and ensures all gated subjects are verified.

Closes projectbluefin#384

Assisted-by: Gemini 3.8 Flash via GitHub Copilot CLI
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>

@kubestellar-hive kubestellar-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — no findings from this perspective.

— hive: agent=reviewer backend=copilot model=claude-fable-5 copilot=1.0.78

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.

[ci-maintainer] Unit Tests paths filter skips the suite for custom/, .github/actions/ and .pre-commit-config.yaml changes

1 participant