Skip to content

Commit 46f0ab8

Browse files
committed
Test configuration
main.yml fixes
1 parent 9dbeda4 commit 46f0ab8

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

Diff for: .github/workflows/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ jobs:
2929
sudo apt-get --assume-yes install libleveldb-dev libsnappy-dev libc6-dev
3030
find tests -name *.csproj | xargs -I % dotnet add % package coverlet.msbuild
3131
EXCLUDED_TESTS=\"[Neo]*,[Neo.IO]*,[Neo.Json]*,[Neo.VM]*,[Neo.Extensions]*,[Neo.Cryptography.BLS12_381]*\"
32-
dotnet test tests/Neo.Network.RPC.Tests --framework net8.0 --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ -p:Exclude=${EXCLUDED_TESTS}
33-
dotnet test tests/Neo.Plugins.RpcServer.Tests --framework net8.0 --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.json -p:Exclude=${EXCLUDED_TESTS}
34-
dotnet test tests/Neo.Plugins.Storage.Tests --framework net8.0 --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.json -p:Exclude=${EXCLUDED_TESTS}
35-
dotnet test tests/Neo.Cryptography.MPTTrie.Tests --framework net8.0 --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.json -p:Exclude=${EXCLUDED_TESTS}
36-
dotnet test tests/Neo.Plugins.OracleService.Tests --framework net8.0 --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.json /p:CoverletOutputFormat=lcov -p:Exclude=${EXCLUDED_TESTS}
32+
dotnet test tests/Neo.Network.RPC.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.net8.0.json /p:CoverletOutputFormat=lcov /p:Exclude=${EXCLUDED_TESTS}
33+
dotnet test tests/Neo.Plugins.RpcServer.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.net8.0.json /p:CoverletOutputFormat=lcov /p:Exclude=${EXCLUDED_TESTS}
34+
dotnet test tests/Neo.Plugins.Storage.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.net8.0.json /p:CoverletOutputFormat=lcov /p:Exclude=${EXCLUDED_TESTS}
35+
dotnet test tests/Neo.Cryptography.MPTTrie.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage-join/ /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.net8.0.json /p:CoverletOutputFormat=lcov /p:Exclude=${EXCLUDED_TESTS}
36+
dotnet test tests/Neo.Plugins.OracleService.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:MergeWith=${GITHUB_WORKSPACE}/coverage-join/coverage.net8.0.json /p:CoverletOutputFormat=lcov /p:Exclude=${EXCLUDED_TESTS}
3737
- name: Coveralls
3838
uses: coverallsapp/[email protected]
3939
with:
4040
github-token: ${{ secrets.GITHUB_TOKEN }}
4141
format: lcov
42-
file: ${GITHUB_WORKSPACE}/coverage/lcov.info
42+
file: ${GITHUB_WORKSPACE}/coverage/lcov.net8.0.info
4343

4444
Review:
4545
needs: Test

Diff for: tests/Neo.Cryptography.MPTTrie.Tests/Neo.Cryptography.MPTTrie.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
34
<RootNamespace>Neo.Cryptography.MPT.Tests</RootNamespace>
45
<IsPackable>false</IsPackable>
56
</PropertyGroup>

Diff for: tests/Neo.Network.RPC.Tests/Neo.Network.RPC.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
34
<RootNamespace>Neo.Network.RPC.Tests</RootNamespace>
45
<IsPackable>false</IsPackable>
56
</PropertyGroup>

Diff for: tests/Neo.Plugins.OracleService.Tests/Neo.Plugins.OracleService.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
34
<PackageId>OracleService.Tests</PackageId>
45
<RootNamespace>Neo.Plugins</RootNamespace>
56
<IsPackable>false</IsPackable>

Diff for: tests/Neo.Plugins.RpcServer.Tests/Neo.Plugins.RpcServer.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
34
<RootNamespace>Neo.Plugins.RpcServer.Tests</RootNamespace>
45
<AssemblyName>Neo.Plugins.RpcServer.Tests</AssemblyName>
56
<IsPackable>false</IsPackable>

Diff for: tests/Neo.Plugins.Storage.Tests/Neo.Plugins.Storage.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
34
<RootNamespace>Neo.Plugins.Storage.Tests</RootNamespace>
45
<IsPackable>false</IsPackable>
56
</PropertyGroup>

0 commit comments

Comments
 (0)