Skip to content

ci(workflow): extend unit-tests paths filter to covered surfaces - #381

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

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

Conversation

@mendezr

@mendezr mendezr commented Sep 18, 2026

Copy link
Copy Markdown

Closes #375

What

Extends the paths filters on both the pull_request and push
triggers in .github/workflows/unit-tests.yml so the BATS suite runs
whenever any surface it tests changes.

Why

The filter previously omitted four surfaces that tests/unit/ guards:

Surface Test file
.github/actions/check-token-health/check_token_health.sh check-token-health_test.bats
custom/ujust/custom-apps.just custom-apps-just_test.bats
custom/ujust/custom-system.just custom-system-just_test.bats
.pre-commit-config.yaml precommit-brewfile-hook_test.bats
.shellcheck-scope shellcheck-scope_test.bats

A change touching only those files merged without running the 69 tests
written to guard them. This extends both paths: lists by:

  • custom/**
  • .shellcheck-scope
  • .pre-commit-config.yaml
  • .github/actions/**

Nothing else changes — permissions, concurrency and the bats job are
untouched.

— hive: backend=goose model=deepseek/deepseek-v4-flash-0731

The unit-tests.yml paths filter missed four surfaces the BATS suite
guards: custom/ujust recipes, .github/actions/check-token-health,
.pre-commit-config.yaml and .shellcheck-scope. A change touching only
those files merged without ever running the tests written to protect
them.

Extend both pull_request and push paths lists to cover every surface
under test.

Assisted-by: DeepSeek DeepSeek-V4 via Goose
Signed-off-by: mendezr <mendezr@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.

[quality] missing-workflow: unit-tests.yml paths filter skips the BATS suite for 4 of the surfaces it tests

1 participant