Skip to content

Test: Run tests on every PR and reset ERROR - #177

Merged
ModeSevenIndustrialSolutions merged 1 commit into
mainfrom
test/pr-trigger
Oct 2, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
mainfrom
test/pr-trigger

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

Summary

Make the test workflow run on every pull request, and stop two validation steps from depending on an inherited ERROR variable.

Changes

  • Remove the pull_request path filter. It excluded .github/**, root dotfiles and tox.ini, so a PR that only changed the test workflow never ran it. The trigger now matches actions-template, which has no path filter.
  • Initialise ERROR="" at the top of the first two Validate Action Output scripts, as the three later steps already do. An ERROR set at workflow or job level could otherwise fail them whatever the action returned.

Stack

This is the bottom layer of a stack:

  1. This PR (Test: PR path filter skips test changes; ERROR uninitialised #170)
  2. Fix: Parse project names instead of grepping (Bug: Name regexes miss valid quoting and spacing #169), replacing Fix: Parse project names instead of grepping #173
  3. Fix: Follow setup.py calls from code that runs (Bug: setup.py extraction misreads class-body timing and recursive calls #176)

Validation

actionlint, zizmor --persona=auditor, prek hooks and the aislop gate are all clean.

Closes #170

The pull_request trigger excluded .github/**, root dotfiles and
tox.ini, so a PR that only changed the test workflow never ran it.
Drop the path filter to match actions-template. Also initialise
ERROR in the first two validation steps, as the later steps already
do, so an inherited ERROR variable cannot fail them spuriously.

Closes #170

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The focused workflow changes address both reported issues with no unresolved findings.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the action’s test workflow so pull requests targeting main run tests regardless of which files change.

Changes:

  • Removes pull-request path exclusions.
  • Resets ERROR in the first two output-validation scripts.
File Description
.github/​workflows/​testing.yaml Broadens PR test coverage and prevents inherited ERROR values from causing false failures.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 13dbf14 into main Oct 2, 2026
18 of 22 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the test/pr-trigger branch October 2, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality Updates to code-quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test: PR path filter skips test changes; ERROR uninitialised

3 participants