diff --git a/.github/workflows/publisher_cd.yml b/.github/workflows/publisher_cd.yml index a2c6817..de7c113 100644 --- a/.github/workflows/publisher_cd.yml +++ b/.github/workflows/publisher_cd.yml @@ -35,7 +35,7 @@ jobs: - name: Test env: BUILD_VERSION: ${{ steps.version.outputs.version }} - run: dotnet test --no-restore -c Release + run: dotnet test --no-build -c Release - name: Pack Publisher env: BUILD_VERSION: ${{ steps.version.outputs.version }} diff --git a/.github/workflows/publisher_ci.yml b/.github/workflows/publisher_ci.yml index 3101b00..c982b16 100644 --- a/.github/workflows/publisher_ci.yml +++ b/.github/workflows/publisher_ci.yml @@ -28,9 +28,16 @@ jobs: run: dotnet csharpier . --check - name: Build run: dotnet build --no-restore - - name: Test - run: dotnet test \ - --no-restore \ + - name: Test Publisher + run: dotnet test "./test/LeanPipe.Tests/LeanPipe.Tests.csproj" \ + --no-build \ + --collect "XPlat Code Coverage" \ + --settings test/coverlet.runsettings \ + --logger trx \ + --results-directory TestResults + - name: Test test client + run: dotnet test "./test/LeanPipe.TestClient.Tests/LeanPipe.TestClient.Tests.csproj" \ + --no-build \ --collect "XPlat Code Coverage" \ --settings test/coverlet.runsettings \ --logger trx \