Skip to content

Commit 5ec0228

Browse files
Fixing dotnet test cmd
1 parent 87016c3 commit 5ec0228

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/catalog-api.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
dotnet build --no-restore
4747
cd -
4848
cd Services/Catalog/Catalog.UnitTests
49-
dotnet test
49+
dotnet build --no-restore
50+
dotnet test --no-build -v=normal
5051
5152
- name: Compose build ${{ env.SERVICE }}
5253
run: sudo -E docker-compose build ${{ env.SERVICE }}
@@ -76,7 +77,8 @@ jobs:
7677
dotnet build --no-restore
7778
cd -
7879
cd Services/Catalog/Catalog.UnitTests
79-
dotnet test
80+
dotnet build --no-restore
81+
dotnet test --no-build -v=normal
8082
8183
- name: Enable experimental features for the Docker daemon and CLI
8284
run: |

.github/workflows/ordering-api.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
dotnet build --no-restore
4747
cd -
4848
cd Services/Ordering/Ordering.UnitTests
49-
dotnet test
49+
dotnet build --no-restore
50+
dotnet test --no-build -v=normal
5051
5152
- name: Compose build ${{ env.SERVICE }}
5253
run: sudo -E docker-compose build ${{ env.SERVICE }}
@@ -76,7 +77,8 @@ jobs:
7677
dotnet build --no-restore
7778
cd -
7879
cd Services/Ordering/Ordering.UnitTests
79-
dotnet test
80+
dotnet build --no-restore
81+
dotnet test --no-build -v=normal
8082
8183
- name: Enable experimental features for the Docker daemon and CLI
8284
run: |

0 commit comments

Comments
 (0)