Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

@ammar-agent ammar-agent commented Oct 25, 2025

Generated with cmux

Allow manual CI workflow triggers to specify an optional test_filter input that gets passed to both unit and integration test jobs. This enables running specific tests via GitHub Actions UI without requiring a full CI run.

Usage

When manually triggering the CI workflow through GitHub Actions UI, you can now specify a test_filter input:

  • Leave empty: Run all tests (default behavior)
  • File path pattern: workspace or tests/specific.test.ts - matches file paths
  • Test name pattern: -t "pattern" - filters by test description

Compatibility

Both bun test and jest support:

  • File path patterns as positional arguments
  • -t flag for test name pattern matching

The filter is applied identically to both unit tests (bun test) and integration tests (jest).

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

_Generated with `cmux`_

Allow manual CI workflow triggers to specify an optional test_filter
input that gets passed to both unit and integration test jobs. This
enables running specific tests via GitHub Actions UI without requiring
a full CI run.

The filter works with both bun test and jest since they share compatible
syntax for file path patterns (positional args) and test name patterns
(-t flag).
Use github.event.inputs.test_filter instead of inputs.test_filter to
avoid undefined context errors on pull_request and merge_group events.
@ammario ammario merged commit 49d4a97 into main Oct 25, 2025
13 checks passed
@ammario ammario deleted the ci-test-dispatch branch October 25, 2025 23:32
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.

2 participants