Skip to content

Bump xunit from 2.4.1 to 2.9.2 #13381

Bump xunit from 2.4.1 to 2.9.2

Bump xunit from 2.4.1 to 2.9.2 #13381

Triggered via pull request October 21, 2024 08:26
Status Failure
Total duration 1m 43s
Artifacts

main.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 33 warnings
build-for-unity: .Lib9c.Tests/Action/BuyTest.cs#L762
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/Scenario/RuneScenarioTest.cs#L111
Do not use a Where clause to filter before calling Assert.Single. Use the overload of Assert.Single that accepts a filtering function.
build-for-unity: .Lib9c.Tests/Action/Scenario/RuneScenarioTest.cs#L112
Do not use a Where clause to filter before calling Assert.Single. Use the overload of Assert.Single that accepts a filtering function.
build-for-unity: .Lib9c.Tests/Model/AdventureBoss/AdventureBossSimulatorTest.cs#L40
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: .Lib9c.Tests/Action/GrindingTest.cs#L337
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
build-and-test (Release): .Lib9c.Tests/Action/BuyTest.cs#L762
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build-and-test (Release): .Lib9c.Tests/Action/Coupons/RedeemCouponTest.cs#L219
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead.
build-and-test (Release): .Lib9c.Tests/Action/Scenario/RuneScenarioTest.cs#L111
Do not use a Where clause to filter before calling Assert.Single. Use the overload of Assert.Single that accepts a filtering function.
build-and-test (Release): .Lib9c.Tests/Action/Scenario/RuneScenarioTest.cs#L112
Do not use a Where clause to filter before calling Assert.Single. Use the overload of Assert.Single that accepts a filtering function.
build-and-test (Release): .Lib9c.Tests/Action/GrindingTest.cs#L337
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
build-and-test (Release): .Lib9c.Tests/Model/AdventureBoss/AdventureBossSimulatorTest.cs#L40
Test methods must have a supported return type. Valid types are: void, Task. Change the return type to one of the compatible types.
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-and-test (Release): .Lib9c.Tests/Model/Item/InventoryTest.cs#L49
Test methods must have a supported return type. Valid types are: void, Task. Change the return type to one of the compatible types.
build-and-test (Release): .Lib9c.Tests/Model/Item/InventoryTest.cs#L60
Test methods must have a supported return type. Valid types are: void, Task. Change the return type to one of the compatible types.
build-and-test (Release): .Lib9c.Tests/Model/Item/InventoryTest.cs#L71
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-for-unity: .Libplanet/src/Libplanet.Store/BlockSet.cs#L160
Converting null literal or possible null value to non-nullable type.
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L13
Closing brace should be followed by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L20
Closing brace should be followed by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L27
Closing brace should be followed by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L14
Single-line comment should be preceded by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L21
Single-line comment should be preceded by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L28
Single-line comment should be preceded by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L14
Elements should be separated by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L21
Elements should be separated by blank line
build-for-unity: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L28
Elements should be separated by blank line
build-and-test (Release)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-and-test (Release): .Libplanet/src/Libplanet.Store/BlockSet.cs#L160
Converting null literal or possible null value to non-nullable type.
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L14
Elements should be separated by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L21
Elements should be separated by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L28
Elements should be separated by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L13
Closing brace should be followed by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L20
Closing brace should be followed by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L27
Closing brace should be followed by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L14
Single-line comment should be preceded by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L21
Single-line comment should be preceded by blank line
build-and-test (Release): .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L28
Single-line comment should be preceded by blank line
build-js
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-js: .Libplanet/src/Libplanet.Store/BlockSet.cs#L160
Converting null literal or possible null value to non-nullable type.
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L14
Elements should be separated by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L21
Elements should be separated by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L28
Elements should be separated by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L13
Closing brace should be followed by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L20
Closing brace should be followed by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L27
Closing brace should be followed by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L14
Single-line comment should be preceded by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L21
Single-line comment should be preceded by blank line
build-js: .Libplanet/src/Libplanet.Action/IPolicyActionsRegistry.cs#L28
Single-line comment should be preceded by blank line