Skip to content

Commit 5d4bc87

Browse files
authored
fix: fix syntax error
1 parent b453e42 commit 5d4bc87

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/trigger-PR-pipeline.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj
1212
tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj
1313
tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj
14-
test/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj
14+
tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj
1515
1616
jobs:
1717
# === LINUX ===
@@ -62,8 +62,10 @@ jobs:
6262

6363
- name: Run Tests
6464
run: |
65-
for proj in $TEST_PROJECTS; do
66-
dotnet test "$proj" --no-restore --no-build
65+
echo "$TEST_PROJECT" | while read -r $project; do
66+
if [ -n $project]; then
67+
dotnet test "$project" --no-restore --no-build
68+
fi
6769
done
6870
shell: bash
6971

@@ -126,8 +128,10 @@ jobs:
126128

127129
- name: Run Tests
128130
run: |
129-
for proj in $TEST_PROJECTS; do
130-
dotnet test "$proj" --no-restore --no-build
131+
echo "$TEST_PROJECT" | while read -r $project; do
132+
if [ -n $project]; then
133+
dotnet test "$project" --no-restore --no-build
134+
fi
131135
done
132136
shell: bash
133137

@@ -190,8 +194,10 @@ jobs:
190194

191195
- name: Run Tests
192196
run: |
193-
for proj in $TEST_PROJECTS; do
194-
dotnet test "$proj" --no-restore --no-build
197+
echo "$TEST_PROJECT" | while read -r $project; do
198+
if [ -n $project]; then
199+
dotnet test "$project" --no-restore --no-build
200+
fi
195201
done
196202
shell: bash
197203

0 commit comments

Comments
 (0)