Skip to content

Call run-tests action from different repos#3923

Merged
petyaslavova merged 2 commits intoredis:masterfrom
dariaguy:callable-run-tests
Jan 30, 2026
Merged

Call run-tests action from different repos#3923
petyaslavova merged 2 commits intoredis:masterfrom
dariaguy:callable-run-tests

Conversation

@dariaguy
Copy link
Contributor

@dariaguy dariaguy commented Jan 28, 2026

Description of change

Added support for run-tests action to be called from a repository, and added an option to override client image tag

Pull Request check-list

Please make sure to review and check all of these items:

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

* Added repository and ref to run-tests action
* Added client-libs-test-image input to override client image tag
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the run-tests composite GitHub Action so it can be invoked from other repositories and allows overriding the client-libs test image tag.

Changes:

  • Added new inputs repository and ref to control which repository and ref are checked out before running tests.
  • Added a client-libs-test-image input and wired it into the test environment as CLIENT_LIBS_TEST_IMAGE_TAG and CLIENT_LIBS_TEST_STACK_IMAGE_TAG, defaulting to the Redis version when not provided.
  • Updated the Redis stack image selection logic so that CLIENT_LIBS_TEST_STACK_IMAGE_TAG is only overridden by the internal mapping or Redis version when it has not already been set (allowing explicit overrides).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@elena-kolevska elena-kolevska changed the title RED-183567 call run-tests action from different repos Call run-tests action from different repos Jan 29, 2026
Copy link
Collaborator

@petyaslavova petyaslavova left a comment

Choose a reason for hiding this comment

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

LGTM.

@petyaslavova petyaslavova merged commit 3da93d7 into redis:master Jan 30, 2026
108 of 110 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