Skip to content

Remove branch specification from CI workflow #1

Remove branch specification from CI workflow

Remove branch specification from CI workflow #1

Triggered via push December 4, 2024 04:35
Status Failure
Total duration 1m 12s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 12 warnings
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToCreateCustomCurrency ► WhenBuildBitCoin_ThenItShouldSucceedButNotBeRegistered: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L71
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: NodaMoney.InvalidCurrencyException : BTD is unknown currency code!
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToCreateCustomCurrency ► WhenRegisterAsSimpleAsPossible_ThenShouldBeAvailableWithDefaults: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L14
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: NodaMoney.InvalidCurrencyException : The currency BTA is already registered in ISO-4217.
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToCreateCustomCurrency ► WhenRegisterBitCoin_ThenShouldBeAvailableByExplicitNamespace: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L55
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: Expected bitcoin.Symbol to be "฿", but "₿" differs near "₿" (index 0).
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToCreateCustomCurrency ► WhenRegisterBitCoinInIsoNamespace_ThenShouldBeAvailable: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L33
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: NodaMoney.InvalidCurrencyException : The currency BTB is already registered in ISO-4217.
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToCreateCustomCurrency ► WhenRegisterExistingCurrency_ThenThrowException: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L107
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: Expected a <NodaMoney.InvalidCurrencyException> to be thrown, but no exception was thrown.
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToCreateCustomCurrency ► WhenSymbolIsEmpty_ThenSymbolMustBeDefaultCurrencySign: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L145
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: NodaMoney.InvalidCurrencyException : The currency BTH is already registered in ISO-4217.
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToReplaceIsoCurrencyWithOwnVersion ► WhenReplacingEuroWithCustom_ThenThisShouldSucceed: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L246
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: NodaMoney.InvalidCurrencyException : Currency { Code = PAB, IsIso4217 = True, MinimalAmount = 0.01, Symbol = B/. } is unknown currency code!
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToUnregisterCurrency ► WhenCurrencyDoesNotExist_ThenThrowException: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L200
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx Error: Expected exception message to match the equivalent of "*specifies a currency that is not found*", but "ABC is unknown currency code!" does not.
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToUnregisterCurrency ► WhenUnregisterCustomCurrency_ThenThisMustSucceed: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L184
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: NodaMoney.InvalidCurrencyException : The currency XYZ is already registered in virtual.
NodaMoney.Tests.CurrencyBuilderSpec.GivenIWantToUnregisterCurrency ► WhenUnregisterIsoCurrency_ThenThisMustSucceed: tests/NodaMoney.Tests/CurrencyBuilderSpec.cs#L170
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: Expected a <NodaMoney.InvalidCurrencyException> to be thrown, but no exception was thrown.
NodaMoney.Tests.CurrencyInfoSpec.GivenIWantToInitiateInternallyACurrency ► WhenCodeIsNull_ThenCreatingShouldThrow: tests/NodaMoney.Tests/CurrencyInfoSpec.cs#L286
Failed test found in: ./artifacts/_fv-az1771-126_2024-12-04_04_36_40.trx ./artifacts/_fv-az1771-126_2024-12-04_04_36_42.trx Error: Expected a <System.ArgumentException> to be thrown, but no exception was thrown.
build
Failed test were found and 'fail-on-error' option is set to true
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
Test report summary exceeded limit of 65535 bytes and will be trimmed
build: src/NodaMoney/CurrencyBuilder.cs#L16
Non-nullable property 'EnglishName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/NodaMoney/CurrencyBuilder.cs#L16
Non-nullable property 'Symbol' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/NodaMoney/MoneyJsonConverter.cs#L21
Converting null literal or possible null value to non-nullable type.
build: src/NodaMoney/MoneyJsonConverter.cs#L67
Converting null literal or possible null value to non-nullable type.
build: src/NodaMoney/Money.cs#L280
The local function 'IsPowerOf10' is declared but never used
build: src/NodaMoney/Money.Formattable.cs#L15
Cannot convert null literal to non-nullable reference type.
build: src/NodaMoney/Money.Formattable.cs#L15
Cannot convert null literal to non-nullable reference type.
build: src/NodaMoney/Money.Formattable.cs#L23
Cannot convert null literal to non-nullable reference type.
build: src/NodaMoney/Money.Formattable.cs#L32
Cannot convert null literal to non-nullable reference type.
build: src/NodaMoney/Money.Parsable.cs#L25
Cannot convert null literal to non-nullable reference type.