Skip to content

Commit

Permalink
workaround dotnet test properties forwarding (microsoft/vstest#4014)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doraku committed Nov 18, 2022
1 parent 0ab6dec commit 8616334
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/CodeCoverage.yml
Expand Up @@ -22,7 +22,13 @@ jobs:
dotnet-version: '7.0.x'

- name: Collect coverage for net7.0
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net7.0 -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=..\..\build\lcov.info -p:Exclude="[*]DefaultEcs.Internal.Diagnostics*" /p:TEST=true
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net7.0
env:
CollectCoverage: true
CoverletOutputFormat: lcov
CoverletOutput: ..\..\build\lcov.info
Exclude: "[*]DefaultEcs.Internal.Diagnostics*"
TEST: true

- name: Upload to coverall
uses: coverallsapp/github-action@master
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/ContinuousIntegration.yml
Expand Up @@ -24,13 +24,19 @@ jobs:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Run tests net462
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net462 /p:TEST=true
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net462
env:
TEST: true

- name: Run tests net48
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net48 /p:TEST=true
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net48
env:
TEST: true

- name: Run tests net7.0
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net7.0 /p:TEST=true
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net7.0
env:
TEST: true

- name: Decrypte snk file
env:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/PullRequest.yml
Expand Up @@ -19,10 +19,16 @@ jobs:
dotnet-version: '7.0.x'

- name: Run tests net462
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net462 /p:TEST=true
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net462
env:
TEST: true

- name: Run tests net48
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net48 /p:TEST=true
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net48
env:
TEST: true

- name: Run tests net7.0
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net6.0 /p:TEST=true
run: dotnet test source\DefaultEcs.Test\DefaultEcs.Test.csproj -c Release -f net6.0
env:
TEST: true

0 comments on commit 8616334

Please sign in to comment.