Fixing dotnet test cmd

This commit is contained in:
Colin Dembovsky 2021-04-15 11:24:44 -05:00
parent 87016c3280
commit 5ec02287b6
2 changed files with 8 additions and 4 deletions

View File

@ -46,7 +46,8 @@ jobs:
dotnet build --no-restore dotnet build --no-restore
cd - cd -
cd Services/Catalog/Catalog.UnitTests cd Services/Catalog/Catalog.UnitTests
dotnet test dotnet build --no-restore
dotnet test --no-build -v=normal
- name: Compose build ${{ env.SERVICE }} - name: Compose build ${{ env.SERVICE }}
run: sudo -E docker-compose build ${{ env.SERVICE }} run: sudo -E docker-compose build ${{ env.SERVICE }}
@ -76,7 +77,8 @@ jobs:
dotnet build --no-restore dotnet build --no-restore
cd - cd -
cd Services/Catalog/Catalog.UnitTests cd Services/Catalog/Catalog.UnitTests
dotnet test dotnet build --no-restore
dotnet test --no-build -v=normal
- name: Enable experimental features for the Docker daemon and CLI - name: Enable experimental features for the Docker daemon and CLI
run: | run: |

View File

@ -46,7 +46,8 @@ jobs:
dotnet build --no-restore dotnet build --no-restore
cd - cd -
cd Services/Ordering/Ordering.UnitTests cd Services/Ordering/Ordering.UnitTests
dotnet test dotnet build --no-restore
dotnet test --no-build -v=normal
- name: Compose build ${{ env.SERVICE }} - name: Compose build ${{ env.SERVICE }}
run: sudo -E docker-compose build ${{ env.SERVICE }} run: sudo -E docker-compose build ${{ env.SERVICE }}
@ -76,7 +77,8 @@ jobs:
dotnet build --no-restore dotnet build --no-restore
cd - cd -
cd Services/Ordering/Ordering.UnitTests cd Services/Ordering/Ordering.UnitTests
dotnet test dotnet build --no-restore
dotnet test --no-build -v=normal
- name: Enable experimental features for the Docker daemon and CLI - name: Enable experimental features for the Docker daemon and CLI
run: | run: |