Skip to content

Commit

Permalink
Try somthing
Browse files Browse the repository at this point in the history
  • Loading branch information
shacharPash committed Aug 6, 2023
1 parent 1159216 commit 3a64860
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 80 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
echo "${{secrets.REDIS_USER_PRIVATE_KEY}}" > tests/NRedisStack.Tests/bin/Debug/net6.0/redis_user_private.key
ls -R
if [ "$REDIS_VERSION" != "edge" ]; then
dotnet test -f net6.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --filter Category!=edge
elif [ "$REDIS_VERSION" != "7.2.0-RC3" ]; then
dotnet test -f net6.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --filter Category!=7.2.0-RC3
dotnet test -f net6.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --filter RunOnlyOnThisVersion!=edge
elif [ "$REDIS_VERSION" == "7.2.0-RC3" ]; then
dotnet test -f net6.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --filter SkipIfThisIsTheVersoin!=7.2.0-RC3
else
dotnet test -f net6.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
fi
Expand All @@ -60,7 +60,7 @@ jobs:
echo "${{secrets.REDIS_USER_PRIVATE_KEY}}" > tests/NRedisStack.Tests/bin/Debug/net7.0/redis_user_private.key
ls -R
if [ "$REDIS_VERSION" != "edge" ]; then
dotnet test -f net7.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --filter Category!=edge
dotnet test -f net7.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --filter RunOnlyOnThisVersion!=edge
else
dotnet test -f net7.0 --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
fi
Expand Down Expand Up @@ -107,4 +107,4 @@ jobs:
shell: cmd
run: |
START wsl ./redis-stack-server-${{env.redis_stack_version}}/bin/redis-stack-server &
dotnet test -f net481 --no-build --verbosity normal --filter Category!=edge
dotnet test -f net481 --no-build --verbosity normal --filter RunOnlyOnThisVersion!=edge
14 changes: 7 additions & 7 deletions tests/NRedisStack.Tests/Gears/GearsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public void Dispose()


[Fact]
[Trait("Category", "edge")]
[Trait("RunOnlyOnThisVersion", "edge")]
public void TestTFunctionLoadDelete()
{
IDatabase db = redisFixture.Redis.GetDatabase();
Expand All @@ -28,7 +28,7 @@ public void TestTFunctionLoadDelete()


[Fact]
[Trait("Category", "edge")]
[Trait("RunOnlyOnThisVersion", "edge")]
public async Task TestTFunctionLoadDeleteAsync()
{
IDatabase db = redisFixture.Redis.GetDatabase();
Expand All @@ -40,7 +40,7 @@ public async Task TestTFunctionLoadDeleteAsync()
}

[Fact]
[Trait("Category", "edge")]
[Trait("RunOnlyOnThisVersion", "edge")]
public void TestTFunctionList()
{
IDatabase db = redisFixture.Redis.GetDatabase();
Expand Down Expand Up @@ -72,7 +72,7 @@ public void TestTFunctionList()
}

[Fact]
[Trait("Category", "edge")]
[Trait("RunOnlyOnThisVersion", "edge")]
public async Task TestTFunctionListAsync()
{
IDatabase db = redisFixture.Redis.GetDatabase();
Expand Down Expand Up @@ -102,7 +102,7 @@ public async Task TestTFunctionListAsync()
}

[Fact]
[Trait("Category", "edge")]
[Trait("RunOnlyOnThisVersion", "edge")]
public void TestTFCall()
{
IDatabase db = redisFixture.Redis.GetDatabase();
Expand All @@ -117,7 +117,7 @@ public void TestTFCall()
}

[Fact]
[Trait("Category", "edge")]
[Trait("RunOnlyOnThisVersion", "edge")]
public async Task TestTFCallAsync()
{
IDatabase db = redisFixture.Redis.GetDatabase();
Expand All @@ -132,7 +132,7 @@ public async Task TestTFCallAsync()
}

[Fact]
[Trait("Category", "edge")]
[Trait("RunOnlyOnThisVersion", "edge")]
public void TestGearsCommandBuilder()
{
// TFunctionLoad:
Expand Down
Loading

0 comments on commit 3a64860

Please sign in to comment.