Skip to content

Commit eff468e

Browse files
committed
fix ci windows test
1 parent 744814c commit eff468e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/integration.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,8 @@ jobs:
106106
shell: cmd
107107
env:
108108
REDIS_VERSION: ${{env.redis_stack_version}}
109-
run: |
109+
run: |
110+
# trim version to major.minor.patch format
111+
REDIS_VERSION=$(echo "$REDIS_VERSION" | sed -E 's/[^0-9]*([0-9]+\.[0-9]+(\.[0-9]+)?).*/\1/')
112+
echo $REDIS_VERSION
110113
dotnet test -f net481 --no-build --verbosity detailed -p:BuildInParallel=false tests/Test.proj --logger GitHubActions

0 commit comments

Comments
 (0)