Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redis/NRedisStack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.0
Choose a base ref
...
head repository: redis/NRedisStack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: refs/heads/master
Choose a head ref

Commits on Jan 14, 2024

  1. Adding LATEST arg support for TS.MRANGE (#236)

    * Adding LATEST arg for TS.MRANGE
    
    Removing null check that was already being performed by helper method.
    
    Fixed LATEST argument not working in TS.MRANGE command calls.
    
    * Adding test for MRange latest args
    
    * Using var instead of collection index
    atmuccio authored Jan 14, 2024
    Copy the full SHA
    b725b9e View commit details

Commits on Feb 5, 2024

  1. Fix dotnet version testing (#242)

    * Run dotnet format on existing code
    
    * Streamline CI jobs
    
    Add net8.0 as target framework.
    
    Remove the `doctests` workflow, since all tests inside `tests/Doc` are
    executed anyway during the `integration` workflow.
    
    Separate the concurrency groups between workflows, to avoid them
    cancelling each other during one CI run. This seems to be a known issue:
    https://github.com/orgs/community/discussions/41518
    
    Update the release workflow to use dotnet 8, given that we have it as a
    target now.
    
    Print the dotnet version and available SDKs and runtimes in some
    workflows, for clarity.
    
    Update the `reusable` workflow to build for a specific target framework,
    and to use a specific version of the dotnet SDK when building and
    running tests. This is done via a generated `global.json` file. The goal
    is to ensure that the source code can compile on all supported SDKs.
    
    Make the `linter` workflow do the checkout just like the others, without
    explicitly specifying what to checkout.
    
    Double the connection multiplexer timeout in tests, to avoid some tests
    failing (Gears related tests) occasionally.
    
    ---------
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    gerzse and gerzse authored Feb 5, 2024
    Copy the full SHA
    980a77c View commit details

Commits on Feb 13, 2024

  1. Use redisFixture in all tests (#244)

    * use redisFixture in all tests
    
    * fix HashExample
    
    * make constractors public
    
    * return Doc to how it was before
    shacharPash authored Feb 13, 2024
    Copy the full SHA
    9a607e0 View commit details
  2. Add support for BZMPOP, BZPOPMIN and BZPOPMAX (#240)

    * Formatting and typos
    
    Fix some typos in the markdown files and run `dotnet format` on existing
    code.
    
    * Include documentation in the build
    
    Change the settings so that documentation is included in the build.
    
    * Add support for BZMPOP, BZPOPMIN and BZPOPMAX
    
    Add support for the BZMPOP, BZPOPMIN, BZPOPMAX commands.
    
    Issues #232, #233 and #234.
    
    These commands are blocking on the server, so they go against the current
    policy of the StackExchange.Redis library. Therefore make it obvious in
    the code documentation that attention must be given to the timeout in
    the connection multiplexer, client-side.
    
    The StackExchange.Redis library already defines a type for the payload
    returned by BZMPOP (which is the same as for ZMPOP), namely the
    SortedSetPopResult class. However, the constructor of that class is
    internal in the library, so we can't create instances of it. Therefore
    roll our out type for a <value, score> pair, and use Tuple to pair a key
    with a list of such <value, score> pairs.
    
    Instead of using Order to signal from which end of the sorted set to
    pop, define a MinMaxModifier enum, which more clearly expresses the
    intention and maps directly to the Redis command being executed.
    
    ---------
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    gerzse and gerzse authored Feb 13, 2024
    Copy the full SHA
    fe18a3b View commit details

Commits on Feb 19, 2024

  1. Add code snippet for Sorted Sets (#246)

    Issue #214
    
    Add a test under `Docs`, with code snippets that can be used in the
    online documentation for Sorted Sets.
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    gerzse and gerzse authored Feb 19, 2024
    Copy the full SHA
    91fd35c View commit details

Commits on Feb 22, 2024

  1. Add more blocking commands (#253)

    * Rename existing blocking commands
    
    The current naming for the blocking commands does not feel right. For
    example "BzmPop", it feels like there are no naming rules. So rename
    existing methods by this rule: Use capital letters at the beginning of
    human-readable words, e.g. "Pop", and also use capital letters where the
    Redis command has a single letter, e.g. "B", which stands for
    "Blocking", "Z" which stands for "Set" and "M" which stands for "Multi".
    So the new name is "BZMPop".
    
    It's still a good time to do such renaming, because these commands have
    not been released. Also it is a crucial moment to get the naming as
    right as possible, for the same reason.
    
    * Add ToString to RedisValueWithScore
    
    * Add support for BLPOP and BRPOP commands
    
    Issues #249 and #250
    
    * Add support for the BLMPOP command
    
    Issue #248
    
    * Add support for the BLMOVE and BRPOPLPUSH commands
    
    Issues #235 and #251
    
    * Try to fix flaky test
    
    * Use Redis fixture in CoreTests
    
    * Remove ToString, not really needed
    
    ---------
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    Co-authored-by: shacharPash <93581407+shacharPash@users.noreply.github.com>
    3 people authored Feb 22, 2024
    Copy the full SHA
    db17b89 View commit details

Commits on Feb 25, 2024

  1. Testing against Redis Enterprise in CI (#229)

    * NRedisStack Enterprise Test
    
    * enters
    
    * try to change the image
    
    * update the image as it was before
    
    * add --environment="NUM_REDIS_CLUSTER_NODES=6" to dotnet test
    
    * change to 127
    
    * skip if enterprise - start
    
    * change IS_REDIS_ENTERPRISE: 'true' location
    
    * skip gears in enterprise
    
    * skip tests with ft.config
    
    * dont send REDISGEARS_2.REFRESHCLUSTER if enterprise
    
    * skip unknown command test
    
    * chayim
    
    * add oss-cluetr as another job
    
    * try add standalone host+port at the start of endpoints
    
    * fix dotnet test and change the nodes to 3
    
    * start skipping
    
    * try chayim changes
    
    * cahange 100.0.1-64402 to 7.2.4-92 + skip + return to previus env names
    
    * skips
    
    * print the info
    
    * skip setinfo in enterprise
    
    * change verbosity to detailed
    
    * dotnet format
    
    * use .env file
    
    * checkout
    
    * chanfe : to =
    
    * change to chayims method
    
    * add IS_ENTERPRISE=true
    
    * use matrix to run both tests
    
    * add ' '
    
    * use xom9ikk/dotenv@v2 in reusable
    
    * fix path
    
    * delete IMAGE from .env
    
    * add OSS_CLUSTER to the .env's
    
    * skip if oss cluster
    
    * skip oss cluster
    
    * update var names
    
    * fix integrations
    
    * change to .net 8
    
    * add lcov to gitignor
    
    * Skip tests if enterprise
    
    * skip TestBLMPop if enterprise
    
    * skip all blocking commands if enterprise
    shacharPash authored Feb 25, 2024
    Copy the full SHA
    2ec5430 View commit details

Commits on Mar 5, 2024

  1. Switch to public Redis Enterprise for CI (#261)

    Don't use private Docker images, to avoid the need of Docker credentials
    as secrets. Such secrets bring complications when receiving PRs from
    forked repositories.
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    gerzse and gerzse authored Mar 5, 2024
    Copy the full SHA
    3398a8c View commit details

Commits on Mar 6, 2024

  1. Async blocking commands (#257)

    * Add support for blocking XREAD and XREADGROUP
    
    Issues #237 and #255.
    
    * Extend unit test coverage
    
    * Async blocking commands
    
    Issues #232, #233, #234, #235, #237, #248, #249, #250, #251, #255
    
    Add the async versions for the blocking commands: BZPOPMIN, BZPOPMAX,
    BZMPOP, BLMOVE, BLMPOP, BLPOP, BRPOP, BRPOPLPUSH, XREAD and XREADGROUP.
    
    ---------
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    Co-authored-by: shacharPash <93581407+shacharPash@users.noreply.github.com>
    3 people authored Mar 6, 2024
    Copy the full SHA
    29b4c61 View commit details
  2. Test binary package in CI (#252)

    Issue #195
    
    In the integration workflows, publish the binary package into a local
    Nuget source and use it as a binary, to make sure it works that way.
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    Co-authored-by: shacharPash <93581407+shacharPash@users.noreply.github.com>
    3 people authored Mar 6, 2024
    Copy the full SHA
    4e21377 View commit details
  3. Add support for blocking XREAD and XREADGROUP (#256)

    * Add support for blocking XREAD and XREADGROUP
    
    Issues #237 and #255.
    
    * Extend unit test coverage
    
    ---------
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    Co-authored-by: shacharPash <93581407+shacharPash@users.noreply.github.com>
    Co-authored-by: shacharPash <shachar.pashchur@redis.com>
    4 people authored Mar 6, 2024
    Copy the full SHA
    5f8b0b0 View commit details

Commits on Mar 7, 2024

  1. Fix AggregationRequest Builder (#259)

    * change aggregationRequest builder
    
    * add args to SearchArgs
    
    * check issue 230
    
    * use SearchArgs in Schema
    
    * comment deletions
    
    * fix SortBy
    
    * fix accident change
    
    * fix Regex mistakes
    
    * delete unnessesary definition
    
    * deleted a test that was slipped in by mistake
    shacharPash authored Mar 7, 2024
    Copy the full SHA
    ee56859 View commit details

Commits on Mar 12, 2024

  1. Copy the full SHA
    ccd74b5 View commit details

Commits on Mar 19, 2024

  1. Enhance code readability (#241)

    * Formatting and typos
    
    Fix some typos in the markdown files and run `dotnet format` on existing
    code.
    
    * Include documentation in the build
    
    Change the settings so that documentation is included in the build.
    
    * Add support for BZMPOP (#233)
    
    Add support for the BZMPOP command.
    
    This command is blocking on the server, so it goes against the current
    policy of the StackExchange.Redis library. Therefore make it obvious in
    the code documentation that attention must be given to the timeout in
    the connection multiplexer.
    
    The StackExchange.Redis library already defines a type for the payload
    returned by BZMPOP (which is the same as for ZMPOP), namely the
    SortedSetPopResult class. However, the constructor of that class is
    internal in the library, so we can't create instances of it. Therefore
    roll our out type for a <value, score> pair, and use Tuple to pair a key
    with a list of such <value, score> pairs.
    
    * Skip new tests for Redis Cluster
    
    * Refactor and Change the List Collection to ICollection for better performance and memory usage
    
    * Change NameSpace to Scoped
    
    * Add Db to xml summary doc
    
    * Fix Typo problem
    
    * Change constructor to primary constructor based on new feature in .net 8
    
    * Fix Type for previously
    
    * refactor and Use Collection Expression for list initializing and change foreach to linq expression
    
    * use primary constructor in CmsCommands.cs
    
    * use primary constructor in CmsCommands.cs
    
    * Refactor and change constructor to primary
    
    * Fix Typo and indent in CommandArgs.cs and  IJsonCommands.cs
    
    * Fix Typo in ExampleTests.cs and IJsonCommandsAsync.cs and JsonCommandsAsync.cs and JsonTests.cs
    
    * Use Linq and List Expression
    
    * Refactor
    
    * Improve the signatures of the new methods
    
    Improve the signatures of the new methods, to transparently replicate
    the structure of the Redis command, i.e. timeout is mandatory and the
    first argument, order is mandatory.
    
    Add a version of the method that works for a single argument, in the
    spirit of the StackExchange.Redis library.
    
    * Add test for BzmPop without keys
    
    * Add dedicated enum for MIN/MAX
    
    Add a dedicated enum for the MIN and MAX arguments. It feels cleaner
    than using Order and having to mentally map Ascending to Min and
    Descending to Max.
    
    * Remove primary constructor syntax
    
    The primary constructor syntax seems to be not supported by older dotnet
    versions, so don't use it. Also switch from `class` to `struct`, to
    better reflect the fact that RedisValueWithScore is just a data storage
    item.
    
    * Separate concurrency groups for GitHub workflows
    
    It seems that workflows cancel each other out if they are in the same
    concurrency group: https://github.com/orgs/community/discussions/41518
    
    Try to separate four workflows that run on PRs into separate concurency
    groups. Ideally this will avoid the cancelation.
    
    They should still cancel runs from previous pushes, each in their own
    group.
    
    * Fix indent in CuckooInformation.cs
    
    * RollBack to original version of naming NumIncrbyAsync method in JsonCommandsAsync.cs
    
    * Remove use of collection literals
    
    Collection literals are not supported by older dotnet versions, it
    seems, so stop using them for now.
    
    * Increase multiplexer timeout in tests
    
    Some tests (for the Gears module) seem flaky, they fails sometime with
    RedisTimeoutException. Try to double the timeout in the connection
    multiplexer, from 5 to 10 seconds, hopefully this helps.
    
    * Try to fix the linter workflow
    
    * [Fix]
    1.I fixed typo problems in this class at first
    After that,
    2. I used collection expression to better understand the code and avoid additional coding and optimize coding based on c# doc:
     https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/collection-expressions
     3.then Remove unused usings
     4.Then I commented the places that were not Handled for Try Catch
     5.refactor to primary constructor
    
    * Use Linq Expression in JsonCommandBuilder.cs for reduce the amount of code in a file and make the code easier to read, and allow different data sources to have similar query expression
    
    * RollBack to original naming for NumIncrbyAsync
    
    * RollBack to original naming
    
    * Refactored C# code using collection expressions and the :? operator for improved clarity and efficiency.
    
    * Used Inverted If technique and removed redundant else for code optimization and improved clarity.
    
    * Used Invert If technique and removed redundant else for code optimization and improved clarity
    
    * Sync Namespace and use scoped namespace and use operator instead if
    
    * ConvertMultiBulkToObject for handle multi-bulk based on your todo in AggregationResult.cs
    
    * Optimized codebase by removing redundant elements for improved efficiency and maintainability
    
    * Sort Modifier and inverting if in Auxiliary.cs
    ExecuteAsync Method and RedisResult method and change foreach in MergeArgs to linq expression
    I think methods like "ExecuteBroadcastAsync" can be private
    
    * Sync NameSpaces also you can use ITestOutputHelper for output your test results based on xUnit Doc:
    https://xunit.net/docs/capturing-output
    
    * fix CoreCommand file
    
    * Fix bug for build Doc Tests and return to orginal version
    beacuse the old version of .net doesnt support test console for xunit and its failed
    
    * fix error
    
    * Roleback  ' List<object> args = [key];'
     to previous version becuase the old version of .net does not support the .net 8 syntax
    
    * fix compilation error
    
    * format
    
    * Fix Indent and Solve Problem of old .net version with feature primary constructor in .net 8
    
    * Fix Issues for compiler error in .net 8 error CS8652: The feature 'collection literals'
    
    * Fix Compiler Error in JsonCommandsAsync.cs and JsonCommands.cs for Error : error CS8652: The feature 'collection literals' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version
    
    * return ExampleTests's ctor
    
    * Fix typo for TransactionsTests.cs in method naming TestModulesTransactionWithoutGraph
    
    * Fix Typo and namespace also Set Private Access Modifier RedisFixture.cs for readonly strings
    
    * Fix Typo and set const for readonly key PipelineTests.cs
    
    * Fix Typo and Change Namespace to scoped AbstractNRedisStackTest.cs and Person.cs
    
    * Return to Collection Initializer for collections in ExampleTests.cs
    
    * Return `ExecuteAsync` method in Auxiliary.cs to original version for sole complexity
    
    * Revert ToString() in code snippets
    
    Trying to keep code snippets as short as possible, since they get
    published on redis.io as documentation. Hence reverting the addition of
    the `ToString()` calls in some places.
    
    ---------
    
    Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
    Co-authored-by: shacharPash <shachar.pashchur@redis.com>
    3 people authored Mar 19, 2024
    Copy the full SHA
    fc40221 View commit details
  2. Updating the release drafter to the latest standard^C (#264)

    Updating drafter config to latest
    
    Co-authored-by: shacharPash <93581407+shacharPash@users.noreply.github.com>
    chayim and shacharPash authored Mar 19, 2024
    Copy the full SHA
    03162ee View commit details

Commits on Apr 11, 2024

  1. Create dependabot.yml (#266)

    * Create dependabot.yml
    
    * Update dependabot.yml
    
    * Update dependabot.yml
    
    * Update dependabot.yml
    shacharPash authored Apr 11, 2024
    Copy the full SHA
    e0936b4 View commit details
  2. Bump coverlet.msbuild from 3.2.0 to 6.0.2 (#268)

    Bumps [coverlet.msbuild](https://github.com/coverlet-coverage/coverlet) from 3.2.0 to 6.0.2.
    - [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
    - [Commits](coverlet-coverage/coverlet@v3.2.0...v6.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: coverlet.msbuild
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 11, 2024
    Copy the full SHA
    8d9e259 View commit details
  3. Bump dotenv.net from 3.1.2 to 3.1.3 (#270)

    Bumps [dotenv.net](https://github.com/bolorundurowb/dotenv.net) from 3.1.2 to 3.1.3.
    - [Release notes](https://github.com/bolorundurowb/dotenv.net/releases)
    - [Commits](https://github.com/bolorundurowb/dotenv.net/commits)
    
    ---
    updated-dependencies:
    - dependency-name: dotenv.net
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 11, 2024
    Copy the full SHA
    5d2998a View commit details

Commits on Apr 15, 2024

  1. Doc 2646 streams tutorial code examples in C# (#272)

    * DOC_2646 Added stream code samples
    
    * DOC-2646 Fixed minor issues
    
    * DOC-2646 Fixed array initialisers
    
    * DOC-2646 dotnet format changes
    
    * DOC-2646 added version check for feature
    
    * DOC-2646 dotnet format changes
    
    * DOC-2646 version check fix
    
    * DOC-2646 removed unused using statements
    
    * DOC-2646 made string function static
    
    * DOC-2646 try to fix undefined attribute error
    
    * DOC-2646 changed doc test namespace
    
    * DOC-2646 replace custom string formatting functions
    
    * DOC-2646 dotnet format
    
    * change class name to StreamTutorial
    
    ---------
    
    Co-authored-by: shacharPash <shachar.pashchur@redis.com>
    andy-stark-redis and shacharPash authored Apr 15, 2024
    Copy the full SHA
    26ff438 View commit details

Commits on Apr 18, 2024

  1. Copy the full SHA
    e732b7f View commit details

Commits on Apr 21, 2024

  1. Copy the full SHA
    e5ae8cd View commit details

Commits on May 14, 2024

  1. Copy the full SHA
    fd5d8fe View commit details
  2. DOC-2861 added doc code samples for tdigest (#287)

    * DOC-2861 added doc code samples for tdigest
    
    * DOC-2861 removed incorrect 'using' statement automatically added
    andy-stark-redis authored May 14, 2024
    Copy the full SHA
    d571924 View commit details
  3. Copy the full SHA
    6a8e0b2 View commit details
  4. Copy the full SHA
    32bfbce View commit details
  5. Copy the full SHA
    ecba417 View commit details
  6. Copy the full SHA
    8a41c09 View commit details
  7. DOC-2844 added code sample for HyperLogLog (#282)

    * DOC-2844 added code sample for HyperLogLog
    
    * DOC-2844 use hashtags to fix cross-slot errors
    andy-stark-redis authored May 14, 2024
    Copy the full SHA
    8ef1cb1 View commit details
  8. Copy the full SHA
    e913dfc View commit details

Commits on Jun 5, 2024

  1. Time-series insertion filters that allow ignoring close-by samples (#303

    )
    
    * timeseries ignore parameters with builder
    * adding remaining builder methods and unit tests  #302
    * remove unused import and make tscommandbuilder public
    * add version checks for tests
    atakavci authored Jun 5, 2024
    Copy the full SHA
    2d5babb View commit details

Commits on Jun 11, 2024

  1. fix parser for new reponse in FT.PROFILE #306 (#307)

    * fix parser for new reponse in FT.PROFILE #306
    
    * version guards for ft.profile integration tests
    
    * disable redisgraph and add sortable to index schema
    atakavci authored Jun 11, 2024
    Copy the full SHA
    5689e5f View commit details

Commits on Jun 14, 2024

  1. DOC-2554 added code samples for set datatype in C# (#279)

    * DOC-2554 added code samples for set datatype
    
    * DOC-2554 capitalised True and False in test text
    
    * DOC-2554 fixed incorrect assert values
    
    * DOC-2554 fixed cross slot errors with hashtags
    
    * DOC-2554 fixed incorrect assert values
    
    * DOC-2554 removed test that appeared to have inconsistent results
    
    * DOC-2554 removed tests with inconsistent results
    andy-stark-redis authored Jun 14, 2024
    Copy the full SHA
    4b10eac View commit details

Commits on Jun 26, 2024

  1. support for index and search with missing / empty values (#315)

    search with missing empty values
    atakavci authored Jun 26, 2024
    Copy the full SHA
    9b05acd View commit details

Commits on Jul 3, 2024

  1. Verify library support for float16 and bfloat15 types in vector fields (

    #317)
    
    * adding tests for bfloat16
    
    * disable profile tests for 7.3.240
    
    * remove interop
    atakavci authored Jul 3, 2024
    Copy the full SHA
    ebc1163 View commit details

Commits on Jul 5, 2024

  1. Doc 3876 json doc code samples (#308)

    * DOC-3876 added JSON code samples
    
    * DOC-3876 fixes to code samples
    
    * DOC-3876 replaced raw string literals with multiline @ quotes
    andy-stark-redis authored Jul 5, 2024
    Copy the full SHA
    cd981b2 View commit details

Commits on Aug 2, 2024

  1. fix failing doc tests by avoiding parallelization at assembly level (#…

    …326)
    
    * fix failing doc tests by avoiding parallelization at assembly level
    
    * disable tests failing around FT.CONFIG response
    atakavci authored Aug 2, 2024
    Copy the full SHA
    19dad85 View commit details
  2. apply avoiding assembly level parallelism for enterprise redis and wi…

    …ndows tests (#327)
    
    - fix warnings related to xml comments
    - apply assembly level parallelism for enterprise redis and windows tests
    atakavci authored Aug 2, 2024
    Copy the full SHA
    980d322 View commit details

Commits on Aug 6, 2024

  1. Copy the full SHA
    167d09f View commit details
  2. DOC-2525 add ListTutorial.cs to fork (#324)

    * DOC-2525 add ListTutorial.cs to fork
    
    * DOC-2525 dotnet format changes
    
    * DOC-2525 try changing all files to same namespace
    
    * DOC-2525 added xunit.runner.json with parallelisation turned off
    
    * DOC-2525 alternative xunit.runner config
    
    * DOC-2525 try removing OutputType module
    
    * DOC-2525 fixed test problem with double string formatting
    
    * DOC-2525 another attempt to fix test string formatting
    
    * DOC-2525 another minor test fix
    
    * DOC-2525 removed xunit config
    
    ---------
    
    Co-authored-by: atakavci <58048133+atakavci@users.noreply.github.com>
    andy-stark-redis and atakavci authored Aug 6, 2024
    Copy the full SHA
    a2b2524 View commit details

Commits on Aug 7, 2024

  1. Change InfoResult::Attributes Returned Value to Array of Arrays (#295)

    * Change InfoResult/Attribute to Array of Arrays
    
    * test with and without sortable
    
    * remove GetRedisResultDictionaryArray
    
    * print connection data
    
    * add is enterpeise and oss cluster to printing
    
    * delete last commit
    
    * effort to keep "InfoResult" backward compatible
    
    * remove sortable attribute
    
    * remove sortable
    
    ---------
    
    Co-authored-by: atakavci <a_takavci@yahoo.com>
    Co-authored-by: atakavci <58048133+atakavci@users.noreply.github.com>
    3 people authored Aug 7, 2024
    Copy the full SHA
    5679194 View commit details
  2. test dialect 5 (#305)

    * test dialect 5
    
    * fix version numbers according to redis image
    
    * dialect 5 is not approved yet, so,  excluded
    
    ---------
    
    Co-authored-by: Igor Malinovskiy <u.glide@gmail.com>
    atakavci and uglide authored Aug 7, 2024
    Copy the full SHA
    736266e View commit details
  3. add GithubActionsTestLogger (#311)

    * add githubactions logger
    atakavci authored Aug 7, 2024
    Copy the full SHA
    7bd65bc View commit details

Commits on Aug 12, 2024

  1. fix ts.create UNCOMPRESSED set to false explicitly (#329)

    * fix ts.create UNCOMPRESSED set to false explicitly
    
    * fix format issue
    atakavci authored Aug 12, 2024
    Copy the full SHA
    0ae51b4 View commit details

Commits on Aug 28, 2024

  1. DOC-4093 HGET/HSET command code samples (#330)

    * DOC-4093 added hash examples
    
    * DOC-4093 dotnet format changes
    andy-stark-redis authored Aug 28, 2024
    Copy the full SHA
    4a503d2 View commit details

Commits on Sep 11, 2024

  1. DOC-4080 Examples for ZADD and ZRANGE (#332)

    * DOC-4080 zadd example
    
    * DOC-4080 added zrange examples
    
    * DOC-4080 dotnet format changes
    andy-stark-redis authored Sep 11, 2024
    Copy the full SHA
    667ce49 View commit details
  2. DOC-4117 examples for DEL, EXPIRE, and TTL commands (#333)

    * DOC-4117 added EXPIRE examples
    
    * DOC-4117 added TTL example
    
    * DOC-4117 dotnet format changes
    
    * DOC-4117 try to fix expire tests failing for Stack v6.2.6
    
    * DOC-4117 improved SkipIfRedis attribute
    
    * DOC-4117 dotnet format changes
    andy-stark-redis authored Sep 11, 2024
    Copy the full SHA
    44a27a0 View commit details

Commits on Sep 12, 2024

  1. DOC-4101 added INCR example (#334)

    * DOC-4101 added INCR example
    
    * DOC-4101 delete key after test
    andy-stark-redis authored Sep 12, 2024
    Copy the full SHA
    3f90d20 View commit details

Commits on Sep 13, 2024

  1. Update to SE.Redis 2.8.16 (#335)

    * Updata to SE.Redis 2.8.12
    
    * upgrade to 2.8.16
    atakavci authored Sep 13, 2024
    Copy the full SHA
    b21c054 View commit details
  2. Copy the full SHA
    7aedb1c View commit details

Commits on Sep 26, 2024

  1. Copy the full SHA
    e756568 View commit details
Showing with 14,888 additions and 9,134 deletions.
  1. +140 −0 .github/actions/run-tests/action.yml
  2. +0 −2 .github/cluster.env
  3. +11 −0 .github/dependabot.yml
  4. +0 −30 .github/docker-compose.yml
  5. +0 −7 .github/dockers/Dockerfile.cluster
  6. +0 −8 .github/dockers/cluster.redis.conf
  7. +0 −47 .github/dockers/create_cluster.sh
  8. +9 −2 .github/release-drafter-config.yml
  9. +0 −1 .github/standalone.env
  10. +1 −0 .github/wordlist.txt
  11. +0 −39 .github/workflows/doctests.yml
  12. +94 −108 .github/workflows/integration.yml
  13. +2 −4 .github/workflows/linter.yaml
  14. +28 −8 .github/workflows/nuget-release.yml
  15. +49 −26 .github/workflows/reusable.yml
  16. +1 −1 .github/workflows/spellcheck.yml
  17. +5 −0 .gitignore
  18. +10 −0 .vscode/.runsettings
  19. +2 −1 .vscode/settings.json
  20. +17 −3 CONTRIBUTING.md
  21. +84 −0 PackageVerification/PackageVerification.cs
  22. +12 −0 PackageVerification/PackageVerification.csproj
  23. +9 −3 README.md
  24. +89 −94 src/NRedisStack/Auxiliary.cs
  25. +47 −57 src/NRedisStack/Bloom/BloomAux.cs
  26. +62 −72 src/NRedisStack/Bloom/BloomCommandBuilder.cs
  27. +59 −61 src/NRedisStack/Bloom/BloomCommands.cs
  28. +63 −61 src/NRedisStack/Bloom/BloomCommandsAsync.cs
  29. +100 −104 src/NRedisStack/Bloom/IBloomCommands.cs
  30. +100 −103 src/NRedisStack/Bloom/IBloomCommandsAsync.cs
  31. +181 −0 src/NRedisStack/CoreCommands/CoreCommandBuilder.cs
  32. +474 −14 src/NRedisStack/CoreCommands/CoreCommands.cs
  33. +460 −0 src/NRedisStack/CoreCommands/CoreCommandsAsync.cs
  34. +35 −0 src/NRedisStack/CoreCommands/DataTypes/MinMaxModifier.cs
  35. +25 −0 src/NRedisStack/CoreCommands/DataTypes/RedisStreamEntries.cs
  36. +31 −0 src/NRedisStack/CoreCommands/DataTypes/RedisValueWithScore.cs
  37. +22 −0 src/NRedisStack/CoreCommands/DataTypes/StreamSpecialIds.cs
  38. +10 −1 src/NRedisStack/CoreCommands/Literals/CommandArgs.cs
  39. +11 −1 src/NRedisStack/CoreCommands/Literals/Commands.cs
  40. +51 −51 src/NRedisStack/CountMinSketch/CmsCommandBuilder.cs
  41. +51 −51 src/NRedisStack/CountMinSketch/CmsCommands.cs
  42. +51 −52 src/NRedisStack/CountMinSketch/CmsCommandsAsync.cs
  43. +2 −2 src/NRedisStack/CuckooFilter/DataTypes/CuckooInformation.cs
  44. +2 −2 src/NRedisStack/CuckooFilter/ICuckooCommands.cs
  45. +3 −4 src/NRedisStack/CuckooFilter/ICuckooCommandsAsync.cs
  46. +0 −81 src/NRedisStack/Gears/GearsCommandBuilder.cs
  47. +0 −78 src/NRedisStack/Gears/GearsCommands.cs
  48. +0 −77 src/NRedisStack/Gears/GearsCommandsAsync.cs
  49. +0 −13 src/NRedisStack/Gears/Literals/CommandArgs.cs
  50. +0 −12 src/NRedisStack/Gears/Literals/Commands.cs
  51. +0 −96 src/NRedisStack/Graph/DataTypes/Edge.cs
  52. +0 −72 src/NRedisStack/Graph/DataTypes/GraphEntity.cs
  53. +0 −84 src/NRedisStack/Graph/DataTypes/Node.cs
  54. +0 −87 src/NRedisStack/Graph/DataTypes/Path.cs
  55. +0 −35 src/NRedisStack/Graph/GraphCache.cs
  56. +0 −79 src/NRedisStack/Graph/GraphCacheList.cs
  57. +0 −83 src/NRedisStack/Graph/GraphCommandBuilder.cs
  58. +0 −140 src/NRedisStack/Graph/GraphCommands.cs
  59. +0 −142 src/NRedisStack/Graph/GraphCommandsAsync.cs
  60. +0 −84 src/NRedisStack/Graph/Header.cs
  61. +0 −143 src/NRedisStack/Graph/IGraphCommands.cs
  62. +0 −143 src/NRedisStack/Graph/IGraphCommandsAsync.cs
  63. +0 −9 src/NRedisStack/Graph/Literals/CommandArgs.cs
  64. +0 −16 src/NRedisStack/Graph/Literals/Commands.cs
  65. +0 −48 src/NRedisStack/Graph/Point.cs
  66. +0 −11 src/NRedisStack/Graph/ProcedureMode.cs
  67. +0 −110 src/NRedisStack/Graph/Record.cs
  68. +0 −129 src/NRedisStack/Graph/RedisGraphUtilities.cs
  69. +0 −315 src/NRedisStack/Graph/ResultSet.cs
  70. +0 −114 src/NRedisStack/Graph/Statistics.cs
  71. +7 −10 src/NRedisStack/Json/DataTypes/KeyValuePath.cs
  72. +1 −1 src/NRedisStack/Json/IJsonCommands.cs
  73. +1 −1 src/NRedisStack/Json/IJsonCommandsAsync.cs
  74. +28 −38 src/NRedisStack/Json/JsonCommandBuilder.cs
  75. +7 −5 src/NRedisStack/Json/JsonCommands.cs
  76. +14 −8 src/NRedisStack/Json/JsonCommandsAsync.cs
  77. +0 −1 src/NRedisStack/Json/Literals/CommandArgs.cs
  78. +1 −4 src/NRedisStack/ModulePrefixes.cs
  79. +7 −6 src/NRedisStack/NRedisStack.csproj
  80. +1 −2 src/NRedisStack/Pipeline.cs
  81. +163 −1 src/NRedisStack/ResponseParser.cs
  82. +139 −287 src/NRedisStack/Search/AggregationRequest.cs
  83. +88 −31 src/NRedisStack/Search/AggregationResult.cs
  84. +89 −104 src/NRedisStack/Search/DataTypes/InfoResult.cs
  85. +59 −58 src/NRedisStack/Search/Document.cs
  86. +7 −16 src/NRedisStack/Search/FTSpellCheckParams.cs
  87. +8 −8 src/NRedisStack/Search/FieldName.cs
  88. +15 −0 src/NRedisStack/Search/IDialectAwareParam.cs
  89. +22 −0 src/NRedisStack/Search/ISearchCommands.cs
  90. +21 −1 src/NRedisStack/Search/ISearchCommandsAsync.cs
  91. +0 −12 src/NRedisStack/Search/Literals/AttributeOptions.cs
  92. +74 −60 src/NRedisStack/Search/Literals/CommandArgs.cs
  93. +29 −30 src/NRedisStack/Search/Literals/Commands.cs
  94. +13 −0 src/NRedisStack/Search/Literals/FieldOptions.cs
  95. +15 −0 src/NRedisStack/Search/ProfilingInformation.cs
  96. +8 −1 src/NRedisStack/Search/Query.cs
  97. +6 −5 src/NRedisStack/Search/Row.cs
  98. +87 −59 src/NRedisStack/Search/Schema.cs
  99. +2 −0 src/NRedisStack/Search/SearchCommandBuilder.cs
  100. +31 −31 src/NRedisStack/Search/SearchCommands.cs
  101. +47 −22 src/NRedisStack/Search/SearchCommandsAsync.cs
  102. +2 −2 src/NRedisStack/Tdigest/ITdigestCommands.cs
  103. +2 −2 src/NRedisStack/Tdigest/ITdigestCommandsAsync.cs
  104. +96 −0 src/NRedisStack/TimeSeries/DataTypes/TSParameters.cs
  105. +7 −0 src/NRedisStack/TimeSeries/Extensions/ReduceExtensions.cs
  106. +2 −0 src/NRedisStack/TimeSeries/Literals/CommandArgs.cs
  107. +35 −0 src/NRedisStack/TimeSeries/Literals/Enums/Reduce.cs
  108. +5 −110 src/NRedisStack/TimeSeries/TimeSeriesAux.cs
  109. +19 −0 src/NRedisStack/TimeSeries/TimeSeriesCommands.cs
  110. +22 −0 src/NRedisStack/TimeSeries/TimeSeriesCommandsAsync.cs
  111. +40 −11 src/NRedisStack/TimeSeries/TimeSeriesCommandsBuilder.cs
  112. +245 −0 src/NRedisStack/TimeSeries/TimeSeriesParamsBuilder.cs
  113. +1 −3 src/NRedisStack/Transactions.cs
  114. +81 −0 tests/Doc/Bf_tutorial.cs
  115. +77 −0 tests/Doc/Bitmap_tutorial.cs
  116. +450 −0 tests/Doc/CmdsGenericExample.cs
  117. +130 −0 tests/Doc/CmdsHashExample.cs
  118. +495 −0 tests/Doc/CmdsSortedSetExamples.cs
  119. +335 −0 tests/Doc/CmdsStringExample.cs
  120. +82 −0 tests/Doc/Cms_tutorial.cs
  121. +73 −0 tests/Doc/Cuckoo_tutorial.cs
  122. +12 −8 tests/Doc/Doc.csproj
  123. +98 −0 tests/Doc/Geo_tutorial.cs
  124. +15 −2 tests/Doc/HashExample.cs
  125. +69 −0 tests/Doc/Hll_tutorial.cs
  126. +189 −0 tests/Doc/HomeJsonExample.cs
  127. +455 −0 tests/Doc/Json_tutorial.cs
  128. +344 −0 tests/Doc/ListTutorial.cs
  129. +338 −0 tests/Doc/QueryAggExample.cs
  130. +295 −0 tests/Doc/QueryEmExample.cs
  131. +285 −0 tests/Doc/QueryFtExample.cs
  132. +284 −0 tests/Doc/QueryRangeExample.cs
  133. +18 −4 tests/Doc/SearchQuickstartExample.cs
  134. +17 −5 tests/Doc/SetGetExample.cs
  135. +210 −0 tests/Doc/SetsTutorial.cs
  136. +198 −0 tests/Doc/SortedSetExample.cs
  137. +706 −0 tests/Doc/StreamTutorial.cs
  138. +16 −6 tests/Doc/StringSnippets.cs
  139. +142 −0 tests/Doc/Tdigest_tutorial.cs
  140. +96 −0 tests/Doc/Topk_tutorial.cs
  141. +78 −32 tests/NRedisStack.Tests/AbstractNRedisStackTest.cs
  142. +96 −96 tests/NRedisStack.Tests/Bloom/BloomTests.cs
  143. +113 −0 tests/NRedisStack.Tests/CommunityEditionUpdatesTests.cs
  144. +1,643 −51 tests/NRedisStack.Tests/Core Commands/CoreTests.cs
  145. +66 −61 tests/NRedisStack.Tests/CountMinSketch/CmsTests.cs
  146. +129 −120 tests/NRedisStack.Tests/CuckooFilter/CuckooTests.cs
  147. +20 −0 tests/NRedisStack.Tests/CustomAssertions.cs
  148. +99 −0 tests/NRedisStack.Tests/EndpointsFixture.cs
  149. +319 −259 tests/NRedisStack.Tests/Examples/ExampleTests.cs
  150. +0 −204 tests/NRedisStack.Tests/Gears/GearsTests.cs
  151. +0 −2,181 tests/NRedisStack.Tests/Graph/GraphTests.cs
  152. +0 −64 tests/NRedisStack.Tests/Graph/Utils/PathBuilder.cs
  153. +0 −48 tests/NRedisStack.Tests/Graph/Utils/PathBuilderTest.cs
  154. +270 −229 tests/NRedisStack.Tests/Json/JsonTests.cs
  155. +24 −11 tests/NRedisStack.Tests/NRedisStack.Tests.csproj
  156. +6 −7 tests/NRedisStack.Tests/Person.cs
  157. +39 −22 tests/NRedisStack.Tests/PipelineTests.cs
  158. +0 −54 tests/NRedisStack.Tests/RedisFixture.cs
  159. +205 −0 tests/NRedisStack.Tests/Search/IndexCreationTests.cs
  160. +870 −388 tests/NRedisStack.Tests/Search/SearchTests.cs
  161. +43 −51 tests/NRedisStack.Tests/SkipIfRedisAttribute.cs
  162. +61 −0 tests/NRedisStack.Tests/SkippableTheoryDiscoverer.cs
  163. +100 −252 tests/NRedisStack.Tests/Tdigest/TdigestTests.cs
  164. +35 −31 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestAdd.cs
  165. +16 −31 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestAddAsync.cs
  166. +26 −7 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestAlter.cs
  167. +4 −7 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestAlterAsync.cs
  168. +59 −21 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestCreate.cs
  169. +16 −26 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestCreateAsync.cs
  170. +29 −15 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestDecrBy.cs
  171. +8 −15 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestDecrByAsync.cs
  172. +4 −6 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestDel.cs
  173. +4 −6 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestDelAsync.cs
  174. +4 −7 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestGet.cs
  175. +4 −7 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestGetAsync.cs
  176. +29 −16 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestIncrBy.cs
  177. +8 −15 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestIncrByAsync.cs
  178. +15 −13 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMADD.cs
  179. +13 −13 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMAddAsync.cs
  180. +15 −13 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMGet.cs
  181. +15 −13 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMGetAsync.cs
  182. +290 −83 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMRange.cs
  183. +60 −56 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMRangeAsync.cs
  184. +58 −57 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMRevRange.cs
  185. +59 −57 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestMRevRangeAsync.cs
  186. +8 −6 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestQueryIndex.cs
  187. +8 −6 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestQueryIndexAsync.cs
  188. +20 −27 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestRange.cs
  189. +21 −27 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestRangeAsync.cs
  190. +28 −27 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestRevRange.cs
  191. +28 −26 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestRevRangeAsync.cs
  192. +13 −16 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestRules.cs
  193. +21 −19 tests/NRedisStack.Tests/TimeSeries/TestAPI/TestRulesAsync.cs
  194. +23 −0 tests/NRedisStack.Tests/TimeSeries/TestAPI/TimeSeriesHelper.cs
  195. +7 −7 tests/NRedisStack.Tests/TimeSeries/TestDataTypes/TestTimeSeriesInformation.cs
  196. +6 −14 tests/NRedisStack.Tests/TimeSeries/TimeSeriesTests.cs
  197. +58 −0 tests/NRedisStack.Tests/TokenBasedAuthentication/AuthenticationTests.cs
  198. +113 −0 tests/NRedisStack.Tests/TokenBasedAuthentication/FaultInjectorClient.cs
  199. +18 −13 tests/NRedisStack.Tests/TopK/TopKTests.cs
  200. +122 −125 tests/NRedisStack.Tests/TransactionsTests.cs
  201. +5 −0 tests/Test.proj
  202. +41 −0 tests/dockers/docker-compose.yml
  203. +17 −0 tests/dockers/endpoints.json
140 changes: 140 additions & 0 deletions .github/actions/run-tests/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
name: 'Run NRedisStack tests'
description: 'Runs NRedisStack tests against different Redis versions and configurations'
inputs:
dotnet-version:
description: 'SDK version'
required: true
redis-version:
description: 'Redis version to test against'
required: true
verify-nuget-package:
description: 'Verify Nuget package'
required: false
default: 'false'
REDIS_CA_PEM:
description: 'Redis CA PEM'
required: true
REDIS_USER_CRT:
description: 'Redis User CRT'
required: true
REDIS_USER_PRIVATE_KEY:
description: 'Redis User Private Key'
required: true
runs:
using: "composite"
steps:
- uses: actions/checkout@v4

- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{inputs.dotnet-version}}
dotnet-quality: 'ga'

- name: Setup Environment variables and run Redis
env:
REDIS_VERSION: ${{ inputs.redis-version }}
REDIS_IMAGE: "redis:${{ inputs.redis-version }}"
CLIENT_LIBS_TEST_IMAGE: "redislabs/client-libs-test:${{ inputs.redis-version }}"
run: |
set -e
echo "::group::Setup Environment variables and run Redis"
dotnet_major_minor_version=$(echo "${{ inputs.dotnet-version }}" | grep -oP '^\d+\.\d+')
echo "CLR_VERSION=net${dotnet_major_minor_version}" >> $GITHUB_ENV
redis_major_version=$(echo "$REDIS_VERSION" | grep -oP '^\d+')
echo "REDIS_MAJOR_VERSION=${redis_major_version}" >> $GITHUB_ENV
if (( redis_major_version < 8 )); then
echo "Using redis-stack for module tests"
# Mapping of redis version to stack version
declare -A redis_stack_version_mapping=(
["7.4.1"]="rs-7.4.0-v1"
["7.2.6"]="rs-7.2.0-v13"
["6.2.16"]="rs-6.2.6-v17"
)
if [[ -v redis_stack_version_mapping[$REDIS_VERSION] ]]; then
export CLIENT_LIBS_TEST_IMAGE="redislabs/client-libs-test:${redis_stack_version_mapping[$REDIS_VERSION]}"
else
echo "Version not found in the mapping."
exit 1
fi
if (( redis_major_version < 7 )); then
export REDIS_EXTRA_ARGS="--tls-auth-clients optional --save ''"
fi
docker compose --profile all -f tests/dockers/docker-compose.yml up -d --build
else
echo "Using redis CE for module tests"
export CLIENT_LIBS_TEST_IMAGE="redislabs/client-libs-test:$REDIS_VERSION"
docker compose --profile all -f tests/dockers/docker-compose.yml up -d --build
fi
echo "::endgroup::"
shell: bash

# Make sure only the desired dotnet version is set both as target and as active SDK.
- name: Tweak target frameworks
shell: bash
run: |
find . -name '*.csproj' | xargs -I {} sed -E -i "s|<TargetFrameworks(.*)>.*</TargetFrameworks>|<TargetFramework\1>${CLR_VERSION}</TargetFramework>|" {}
find . -name '*.csproj' | xargs cat
jq -n --arg version ${{inputs.dotnet-version}} '{"sdk":{"version":$version,"rollForward":"latestMinor"}}' > global.json
- name: Check .NET version
shell: bash
run: dotnet --version
- name: Check .NET SDKs
shell: bash
run: dotnet --list-sdks
- name: Check .NET runtimes
shell: bash
run: dotnet --list-runtimes
- name: Restore dependencies
shell: bash
run: dotnet restore

- name: Build
shell: bash
run: dotnet build --no-restore /p:ContinuousIntegrationBuild=true

- name: Test
shell: bash
env:
REDIS_VERSION: ${{ inputs.redis-version }}
run: |
echo "::group::Run tests"
echo "${{inputs.REDIS_CA_PEM}}" > tests/NRedisStack.Tests/bin/Debug/${CLR_VERSION}/redis_ca.pem
echo "${{inputs.REDIS_USER_CRT}}" > tests/NRedisStack.Tests/bin/Debug/${CLR_VERSION}/redis_user.crt
echo "${{inputs.REDIS_USER_PRIVATE_KEY}}" > tests/NRedisStack.Tests/bin/Debug/${CLR_VERSION}/redis_user_private.key
REDIS_VERSION=$(echo "$REDIS_VERSION" | cut -d'-' -f1)
echo $REDIS_VERSION
dotnet test -f ${CLR_VERSION} --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover -p:BuildInParallel=false tests/Test.proj --logger GitHubActions
echo "::endgroup::"
- name: Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
- name: Build
shell: bash
run: dotnet pack -c Release

- name: Test against Nuget package from local source
if: inputs.verify-nuget-package == 'true'
working-directory: PackageVerification
shell: bash
run: |
echo "::group::Test against Nuget package from local source"
mkdir -p test-source
dotnet nuget add source $(readlink -f test-source) -n test-source
find .. -name '*.nupkg' | xargs -I {} dotnet nuget push {} -s test-source
ls -R
dotnet nuget remove source nuget.org
dotnet nuget list source
find . -name '*.csproj' | xargs -I {} sed -E -i 's|<TargetFrameworks(.*)>.*</TargetFrameworks>|<TargetFramework\1>${CLR_VERSION}</TargetFramework>|' {}
dotnet restore -s test-source -v detailed
dotnet run
echo "::endgroup::"
2 changes: 0 additions & 2 deletions .github/cluster.env

This file was deleted.

11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "nuget" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
30 changes: 0 additions & 30 deletions .github/docker-compose.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/dockers/Dockerfile.cluster

This file was deleted.

8 changes: 0 additions & 8 deletions .github/dockers/cluster.redis.conf

This file was deleted.

47 changes: 0 additions & 47 deletions .github/dockers/create_cluster.sh

This file was deleted.

11 changes: 9 additions & 2 deletions .github/release-drafter-config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name-template: '$NEXT_MINOR_VERSION'
tag-template: 'v$NEXT_MINOR_VERSION'
filter-by-commitish: true
commitish: master
autolabeler:
- label: 'maintenance'
files:
@@ -15,7 +17,7 @@ autolabeler:
branch:
- '/feature-.+'
categories:
- title: 'Breaking Changes'
- title: '🔥 Breaking Changes'
labels:
- 'breakingchange'
- title: '🧪 Experimental Features'
@@ -32,7 +34,12 @@ categories:
- 'bug'
- 'BUG'
- title: '🧰 Maintenance'
label: 'maintenance'
labels:
- 'maintenance'
- 'dependencies'
- 'documentation'
- 'docs'
- 'testing'
change-template: '- $TITLE (#$NUMBER)'
exclude-labels:
- 'skip-changelog'
1 change: 0 additions & 1 deletion .github/standalone.env

This file was deleted.

1 change: 1 addition & 0 deletions .github/wordlist.txt
Original file line number Diff line number Diff line change
@@ -23,3 +23,4 @@ TimeSeries
triaging
www
yml
runsettings
39 changes: 0 additions & 39 deletions .github/workflows/doctests.yml

This file was deleted.

Loading