Skip to content

Commit f7c1248

Browse files
authored
Update main.yml
1 parent 21508db commit f7c1248

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/main.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ 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+
EXPECTED_COVERAGE_FILENAME=coverage.net8.0.json
3233
dotnet test tests/Neo.Network.RPC.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage /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/lcov /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/lcov /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/lcov /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:CoverletOutputFormat=lcov /p:Exclude=${EXCLUDED_TESTS}
34+
dotnet test tests/Neo.Plugins.RpcServer.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:Exclude=${EXCLUDED_TESTS} /p:MergeWith=${GITHUB_WORKSPACE}/coverage/lcov/${EXPECTED_COVERAGE_FILENAME}
35+
dotnet test tests/Neo.Plugins.Storage.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:Exclude=${EXCLUDED_TESTS} /p:MergeWith=${GITHUB_WORKSPACE}/coverage/lcov/${EXPECTED_COVERAGE_FILENAME}
36+
dotnet test tests/Neo.Cryptography.MPTTrie.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:Exclude=${EXCLUDED_TESTS} /p:MergeWith=${GITHUB_WORKSPACE}/coverage/lcov/${EXPECTED_COVERAGE_FILENAME}
37+
dotnet test tests/Neo.Plugins.OracleService.Tests --blame-hang --blame-hang-timeout 180000 /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:CoverletOutputFormat=lcov /p:Exclude=${EXCLUDED_TESTS} /p:MergeWith=${GITHUB_WO/RKSPACE}/coverage/lcov/${EXPECTED_COVERAGE_FILENAME}
3738
- name: Coveralls
3839
uses: coverallsapp/[email protected]
3940
with:

0 commit comments

Comments
 (0)