Skip to content

Bump xunit from 2.4.1 to 2.7.0 #11241

Bump xunit from 2.4.1 to 2.7.0

Bump xunit from 2.4.1 to 2.7.0 #11241

Triggered via pull request February 16, 2024 10:57
Status Failure
Total duration 2m 5s
Artifacts

main.yml

on: pull_request
build-for-unity
1m 35s
build-for-unity
release
0s
release
update-submodule
0s
update-submodule
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 22 warnings
build-for-unity: .Lib9c.Tests/Action/ActivateAccount0Test.cs#L44
Comparing an instance of System.Collections.Immutable.ImmutableHashSet<Libplanet.Crypto.Address> with an instance of System.Collections.Immutable.IImmutableSet<Libplanet.Crypto.Address> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq).
build-for-unity: .Lib9c.Tests/Action/AddActivatedAccount0Test.cs#L37
Comparing an instance of System.Collections.Immutable.ImmutableHashSet<Libplanet.Crypto.Address> with an instance of System.Collections.Immutable.IImmutableSet<Libplanet.Crypto.Address> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq).
build-for-unity: .Lib9c.Tests/Action/BuyTest.cs#L767
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-for-unity: .Lib9c.Tests/Action/UpdateSellTest.cs#L238
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-for-unity: .Lib9c.Tests/Model/State/ShopStateTest.cs#L45
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-for-unity: .Lib9c.Tests/Model/State/ShopStateTest.cs#L79
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-for-unity: .Lib9c.Tests/Model/State/ShopStateTest.cs#L146
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
build-for-unity: .Lib9c.Tests/Model/State/ShopStateTest.cs#L186
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
build-for-unity: .Lib9c.Tests/Action/ReRegisterProductTest.cs#L241
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-for-unity: .Lib9c.Tests/Action/ReRegisterProduct0Test.cs#L242
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-and-test (Release): .Lib9c.Tests/Action/ActivateAccount0Test.cs#L44
Comparing an instance of System.Collections.Immutable.ImmutableHashSet<Libplanet.Crypto.Address> with an instance of System.Collections.Immutable.IImmutableSet<Libplanet.Crypto.Address> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq).
build-and-test (Release): .Lib9c.Tests/Action/AddActivatedAccount0Test.cs#L37
Comparing an instance of System.Collections.Immutable.ImmutableHashSet<Libplanet.Crypto.Address> with an instance of System.Collections.Immutable.IImmutableSet<Libplanet.Crypto.Address> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq).
build-and-test (Release): .Lib9c.Tests/Action/UpdateSellTest.cs#L238
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-and-test (Release): .Lib9c.Tests/Model/State/ShopStateTest.cs#L45
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-and-test (Release): .Lib9c.Tests/Model/State/ShopStateTest.cs#L79
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-and-test (Release): .Lib9c.Tests/Model/State/ShopStateTest.cs#L146
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
build-and-test (Release): .Lib9c.Tests/Action/BuyTest.cs#L767
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-and-test (Release): .Lib9c.Tests/Model/State/ShopStateTest.cs#L186
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
build-and-test (Release): .Lib9c.Tests/Action/Coupons/RedeemCouponTest.cs#L218
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
build-and-test (Release): .Lib9c.Tests/Model/Item/InventoryTest.cs#L38
Test methods must have a supported return type. Valid types are: void, Task. Change the return type to one of the compatible types.
build-for-unity
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteWorldState.cs#L92
Non-nullable property 'StateRootHash' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteWorldState.cs#L87
Non-nullable property 'WorldState' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteWorldState.cs#L82
Non-nullable property 'StateQuery' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L178
Possible null reference argument for parameter 'source' in 'IEnumerable<string> Enumerable.Select<Address, string>(IEnumerable<Address> source, Func<Address, string> selector)'.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L186
Possible null reference argument for parameter 'source' in 'IEnumerable<string> Enumerable.Select<Address, string>(IEnumerable<Address> source, Func<Address, string> selector)'.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L251
Non-nullable property 'StateQuery' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L256
Non-nullable property 'AccountState' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-for-unity: .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L261
Non-nullable property 'StateRootHash' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-and-test (Release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteWorldState.cs#L82
Non-nullable property 'StateQuery' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteWorldState.cs#L87
Non-nullable property 'WorldState' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteWorldState.cs#L92
Non-nullable property 'StateRootHash' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L178
Possible null reference argument for parameter 'source' in 'IEnumerable<string> Enumerable.Select<Address, string>(IEnumerable<Address> source, Func<Address, string> selector)'.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L186
Possible null reference argument for parameter 'source' in 'IEnumerable<string> Enumerable.Select<Address, string>(IEnumerable<Address> source, Func<Address, string> selector)'.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L266
Non-nullable property 'StateQuery' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L256
Non-nullable property 'AccountState' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-and-test (Release): .Libplanet.Extensions.RemoteBlockChainStates/RemoteAccountState.cs#L281
Non-nullable property 'Balance' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.