← 输入框|github.com|刷新
Skip to content

Add run tests action - #3221

Merged
nkaradzhov merged 4 commits into
redis:masterfrom
dariaguy:add-run-tests-action
Apr 6, 2026
Merged

nkaradzhov merged 4 commits into
redis:masterfrom
dariaguy:add-run-tests-action

Conversation

@dariaguy

@dariaguy dariaguy commented Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Description

Created run-tests action in order to run node-redis tests from another repo and edited tests workflow to use the new action

Checklist

  • [*] Does npm test pass with this change (including linting)?
  • [*] Is the new or changed code fully tested?
  • [*] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Note

Low Risk
Low risk: only refactors CI by moving existing test/build/upload steps into a composite action; main risk is workflow misconfiguration breaking test runs.

Overview
Refactors the Tests GitHub Actions workflow to call a new reusable composite action (.github/actions/run-tests) instead of inlining the Node setup/build/test/Codecov upload steps.

The new action parameterizes Node version, Redis tag/version, optional repository/ref checkout, optional Codecov upload, and gated OTEL metrics reporting via an input token.

Reviewed by Cursor Bugbot for commit 1b76e10. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit 1c96bbe. Configure here.

Comment thread .github/actions/run-tests/action.yml Resolved
@dariaguy
dariaguy marked this pull request as draft April 5, 2026 14:33
@nkaradzhov

Copy link
Copy Markdown
Collaborator

Hi @dariaguy, thanks for the PR. Can you explain why this is needed?

@dariaguy
dariaguy marked this pull request as ready for review April 6, 2026 14:42
@nkaradzhov
nkaradzhov merged commit 41c908e into redis:master Apr 6, 2026
16 checks passed
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