Skip to content

Commit 8b468d2

Browse files
authored
fix(cd): Patch TestUtils project reference in CD pipeline (#333)
Signed-off-by: currantw <taylor.curran@improving.com>
1 parent 5fbf560 commit 8b468d2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/cd.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,14 @@ jobs:
253253
fi
254254
255255
- name: Patch IT suite to run tests using freshly published version
256-
working-directory: tests/Valkey.Glide.IntegrationTests
257256
shell: bash
258257
run: |
259-
dotnet remove reference ../../sources/Valkey.Glide/Valkey.Glide.csproj
260-
dotnet add package Valkey.Glide --version $RELEASE_VERSION
258+
# Remove local project references to Valkey.Glide
259+
dotnet remove tests/Valkey.Glide.TestUtils reference sources/Valkey.Glide/Valkey.Glide.csproj
260+
dotnet remove tests/Valkey.Glide.IntegrationTests reference sources/Valkey.Glide/Valkey.Glide.csproj
261+
# Replace with the published NuGet package
262+
dotnet add tests/Valkey.Glide.TestUtils package Valkey.Glide --version $RELEASE_VERSION
263+
dotnet add tests/Valkey.Glide.IntegrationTests package Valkey.Glide --version $RELEASE_VERSION
261264
git diff
262265
263266
- name: Install server

0 commit comments

Comments
 (0)