Skip to content

run unit tests in CI against dotnet 8 #265

run unit tests in CI against dotnet 8

run unit tests in CI against dotnet 8 #265

Triggered via pull request August 15, 2024 09:20
Status Failure
Total duration 5m 40s
Artifacts 3

ci-cd.yml

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

Annotations

2 errors and 33 warnings
build (ubuntu-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/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/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.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#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#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)
build (ubuntu-latest): tests/SIL.LCModel.Core.Tests/Attributes/InitializeIcuAttribute.cs#L84
This call site is reachable on all platforms. 'RegistryKey.GetValue(string?)' 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#L84
This call site is reachable on all platforms. 'RegistryKey.GetValue(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#L82
This call site is reachable on all platforms. 'RegistryKey.GetValue(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#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 (windows-latest)
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
build (windows-latest)
- Add lib or ref assemblies for the net461 target framework
build (windows-latest)
- Add lib or ref assemblies for the netstandard2.0 target framework
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_20240815092220.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_20240815092220.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_20240815092220.trx [took 0s]

Artifacts

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