Skip to content

Commit 44d143e

Browse files
committed
fix tests against M2 and M3
1 parent d56fc45 commit 44d143e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/run-tests/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ runs:
109109
echo "${{inputs.REDIS_CA_PEM}}" > tests/NRedisStack.Tests/bin/Debug/${CLR_VERSION}/redis_ca.pem
110110
echo "${{inputs.REDIS_USER_CRT}}" > tests/NRedisStack.Tests/bin/Debug/${CLR_VERSION}/redis_user.crt
111111
echo "${{inputs.REDIS_USER_PRIVATE_KEY}}" > tests/NRedisStack.Tests/bin/Debug/${CLR_VERSION}/redis_user_private.key
112+
REDIS_VERSION=$(echo "$REDIS_VERSION" | cut -d'-' -f1)
113+
echo $REDIS_VERSION
112114
dotnet test -f ${CLR_VERSION} --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover -p:BuildInParallel=false tests/Test.proj --logger GitHubActions
113115
echo "::endgroup::"
114116
- name: Codecov

0 commit comments

Comments
 (0)