Skip to content

Commit

Permalink
Split tests in CI by projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragemil committed Sep 13, 2023
1 parent acafec4 commit b3a87e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publisher_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/publisher_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit b3a87e5

Please sign in to comment.