Skip to content

Test against unstable hiredis-py #3617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 9, 2025

Conversation

uglide
Copy link
Contributor

@uglide uglide commented Apr 25, 2025

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)?
  • Was the change added to CHANGES file?

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

Description of change

Please provide a description of the change here.

uglide added 3 commits April 25, 2025 11:26
The guard was required to prevent cluster tests on RESP3 with hiredis-py before 3.1.0
@petyaslavova petyaslavova added the maintenance Maintenance (CI, Releases, etc) label Apr 29, 2025
@petyaslavova petyaslavova requested a review from Copilot May 7, 2025 15:37
Copy link

@Copilot 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 introduces integration tests to verify functionality against the unstable version of hiredis-py.

  • Adds a new GitHub Actions workflow (.github/workflows/hiredis-py-integration.yaml) to run integration tests with different Python and Redis versions.
  • Enhances the run-tests action (.github/actions/run-tests/action.yml) by including a new input for the hiredis branch and adding steps to checkout and install the unstable version of hiredis-py.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/hiredis-py-integration.yaml New workflow to run hiredis-py integration tests.
.github/actions/run-tests/action.yml Updated action inputs and installation steps for unstable hiredis-py.

@petyaslavova
Copy link
Collaborator

@uglide how will the new workflow be triggered? Currently, I don't see it in the pipelines executed for the branch. Can you please provide some reference to another repo where similar workflow is used?

@uglide
Copy link
Contributor Author

uglide commented May 9, 2025

@petyaslavova the idea is to be able to trigger it manually to cross-check changes in hiredis-py against redis-py tests.

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 7130e1a into redis:master May 9, 2025
37 checks passed
petyaslavova added a commit to Kakadus/redis-py that referenced this pull request May 13, 2025
* Test against unstable hiredis-py

* Create a separate workflow instead

* Remove outdated guard for hiredis-py

The guard was required to prevent cluster tests on RESP3 with hiredis-py before 3.1.0

---------

Co-authored-by: petyaslavova <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance (CI, Releases, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants