Skip to content

run unit tests in CI against dotnet 8 #258

run unit tests in CI against dotnet 8

run unit tests in CI against dotnet 8 #258

Triggered via pull request July 31, 2024 06:34
Status Failure
Total duration 5m 50s
Artifacts 2

ci-cd.yml

on: pull_request
Matrix: build
publish-test-results
17s
publish-test-results
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 33 warnings
build (ubuntu-latest)
Process completed with exit code 1.
build (windows-latest)
Process completed with exit code 1.
publish-test-results
This action finished successfully, but test results have status failure.
build (ubuntu-latest): src/SIL.LCModel.Core/Phonology/PhonEnv.lexer.cs#L18
The type name 'yytokens' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (ubuntu-latest): src/SIL.LCModel.Core/Phonology/PhonEnv.lexer.cs#L223
The type name 'tokens' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (ubuntu-latest): src/SIL.LCModel.Core/Text/CustomIcu.cs#L181
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (ubuntu-latest): tests/TestHelper/TestHelper.cs#L44
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (ubuntu-latest): tests/SIL.LCModel.Utils.Tests/MiscUtilsTests.cs#L139
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (ubuntu-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L96
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (ubuntu-latest): tests/SIL.LCModel.Core.Tests/Text/CustomIcuFallbackTests.cs#L54
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (ubuntu-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L83
This call site is reachable on all platforms. 'RegistryKey.GetValue(string?, object?)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L79
This call site is reachable on all platforms. 'RegistryKey.OpenSubKey(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (ubuntu-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L79
This call site is reachable on all platforms. 'Registry.LocalMachine' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (windows-latest): src/SIL.LCModel.Core/Phonology/PhonEnv.lexer.cs#L18
The type name 'yytokens' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-latest): src/SIL.LCModel.Core/Phonology/PhonEnv.lexer.cs#L223
The type name 'tokens' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-latest): src/SIL.LCModel.Core/Text/CustomIcu.cs#L181
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (windows-latest): tests/TestHelper/TestHelper.cs#L44
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (windows-latest): tests/SIL.LCModel.Utils.Tests/MiscUtilsTests.cs#L139
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (windows-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L96
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (windows-latest): tests/SIL.LCModel.Core.Tests/Text/CustomIcuFallbackTests.cs#L54
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build (windows-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L79
This call site is reachable on all platforms. 'RegistryKey.OpenSubKey(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (windows-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L79
This call site is reachable on all platforms. 'Registry.LocalMachine' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (windows-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L78
This call site is reachable on all platforms. 'RegistryKey.OpenSubKey(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
2 out of 4 runs failed: CollatorSort_DoesNotThrow (SIL.LCModel.DomainServices.WritingSystemServicesTests): SIL.LCModel.DomainServices.WritingSystemServicesTests#L0
artifacts/Test results (ubuntu-latest)/results_net8.0_20240731063844.trx [took 0s] artifacts/Test results (windows-latest)/results_net8.0_20240731063954.trx [took 0s]
1 out of 4 runs failed: LinkedFilesRootDirTests (SIL.LCModel.DomainImpl.LangProjectTests): SIL.LCModel.DomainImpl.LangProjectTests#L0
artifacts/Test results (ubuntu-latest)/results_net8.0_20240731063844.trx [took 0s]
1 out of 4 runs failed: OurDictionaryIsPrivate (SIL.LCModel.Core.SpellChecking.SpellingHelperTests): SIL.LCModel.Core.SpellChecking.SpellingHelperTests#L0
artifacts/Test results (ubuntu-latest)/results_net8.0_20240731063722.trx [took 0s]
1 out of 4 runs failed: GetSimpleSuggestion (SIL.LCModel.Core.SpellChecking.SpellingHelperTests): SIL.LCModel.Core.SpellChecking.SpellingHelperTests#L0
artifacts/Test results (ubuntu-latest)/results_net8.0_20240731063722.trx [took 0s]
1 out of 4 runs failed: BasicSpellingStatus (SIL.LCModel.Core.SpellChecking.SpellingHelperTests): SIL.LCModel.Core.SpellChecking.SpellingHelperTests#L0
artifacts/Test results (ubuntu-latest)/results_net8.0_20240731063722.trx [took 0s]

Artifacts

Produced during runtime
Name Size
Test results (ubuntu-latest) Expired
1.12 MB
Test results (windows-latest) Expired
1.11 MB