Skip to content

Conversation

@zunda-pixel
Copy link
Contributor

@zunda-pixel zunda-pixel commented Oct 27, 2025

Add Valkey image v9.0 for test

  • Add Valkey image:latest(v9.0)

  • Add Redis image:latest(v8.4)

  • disable testSCRIPTfunctions() for Redis

@zunda-pixel zunda-pixel force-pushed the test-multi-valkey-version branch from 1e62f6d to afc4a44 Compare October 27, 2025 16:12
@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@b813e95). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #258   +/-   ##
=======================================
  Coverage        ?   40.95%           
=======================================
  Files           ?       97           
  Lines           ?    12296           
  Branches        ?        0           
=======================================
  Hits            ?     5036           
  Misses          ?     7260           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adam-fowler
Copy link
Collaborator

I don't think there is any need for multiple valkey images. There isn't enough of a difference between versions. But adding the latest redis might be useful

@zunda-pixel
Copy link
Contributor Author

Sorry for the misunderstanding. I’ve added Valkey v9. Should I delete v8?

@adam-fowler
Copy link
Collaborator

Maybe use images valkey/valkey:latest and redis:latest.

@zunda-pixel zunda-pixel force-pushed the test-multi-valkey-version branch 4 times, most recently from fc82827 to 1c02d2c Compare November 14, 2025 09:32
@zunda-pixel
Copy link
Contributor Author

func testFUNCTIONLIST(), func testSCRIPTfunctions() is failed on Redis.

disable these test, CI is succeeded
https://github.com/valkey-io/valkey-swift/actions/runs/19360342924

@adam-fowler
Copy link
Collaborator

Interesting FUNCTION LIST and SCRIPT LIST fail.

@zunda-pixel zunda-pixel changed the title Add Valkey image v9.0 for test Support Valkey image:latest and Redis:latest for test Nov 14, 2025
Comment on lines +179 to +180
redis.register_function('valkey_swift_test_set', test_set)
redis.register_function('valkey_swift_test_get', test_get)
Copy link
Contributor Author

@zunda-pixel zunda-pixel Nov 14, 2025

Choose a reason for hiding this comment

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

rename to fix testFUNCTIONLIST() for Redis


@available(valkeySwift 1.0, *)
@Test
@Test(.enabled(if: Self.isValkey))
Copy link
Contributor Author

@zunda-pixel zunda-pixel Nov 14, 2025

Choose a reason for hiding this comment

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

testSCRIPTfunctions() is enabled for Valkey not Redis
Redis has no SCRIPT SHOW

Signed-off-by: zunda <[email protected]>
@zunda-pixel zunda-pixel force-pushed the test-multi-valkey-version branch from 4ab03be to 5902dbd Compare November 14, 2025 16:36
Signed-off-by: yazawa hiroki <[email protected]>
Signed-off-by: zunda <[email protected]>
Signed-off-by: zunda <[email protected]>
remove space

Signed-off-by: zunda <[email protected]>
@zunda-pixel zunda-pixel force-pushed the test-multi-valkey-version branch from 5902dbd to 7404c92 Compare November 14, 2025 16:37
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.

3 participants