Skip to content

run unit tests in CI against dotnet 8 #255

run unit tests in CI against dotnet 8

run unit tests in CI against dotnet 8 #255

Triggered via pull request July 30, 2024 09:40
Status Failure
Total duration 5m 22s
Artifacts 2

ci-cd.yml

on: pull_request
Matrix: build
publish-test-results
15s
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#L78
This call site is reachable on all platforms. 'Registry.CurrentUser' 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 (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#L78
This call site is reachable on all platforms. 'Registry.CurrentUser' 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#L85
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): 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)
1 out of 4 runs failed: GetLinkedFilesRelativePathFromFullPath (SIL.LCModel.LinkedFilesRelativePathHelperTests): SIL.LCModel.LinkedFilesRelativePathHelperTests#L0
artifacts/Test results (ubuntu-latest)/_fv-az1446-706_2024-07-30_09_43_24.trx [took 0s]
2 out of 4 runs failed: CollatorSort_DoesNotThrow (SIL.LCModel.DomainServices.WritingSystemServicesTests): SIL.LCModel.DomainServices.WritingSystemServicesTests#L0
artifacts/Test results (ubuntu-latest)/_fv-az1446-706_2024-07-30_09_43_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az521-82_2024-07-30_09_45_11.trx [took 0s]
1 out of 4 runs failed: LinkedFilesRootDirTests (SIL.LCModel.DomainImpl.LangProjectTests): SIL.LCModel.DomainImpl.LangProjectTests#L0
artifacts/Test results (ubuntu-latest)/_fv-az1446-706_2024-07-30_09_43_24.trx [took 0s]
1 out of 4 runs failed: ResetDictionaryAddsAllWords (SIL.LCModel.Core.SpellChecking.SpellingHelperTests): SIL.LCModel.Core.SpellChecking.SpellingHelperTests#L0
artifacts/Test results (ubuntu-latest)/_fv-az1446-706_2024-07-30_09_42_33.trx [took 0s]
1 out of 4 runs failed: OtherDictionaryIsNotPrivate (SIL.LCModel.Core.SpellChecking.SpellingHelperTests): SIL.LCModel.Core.SpellChecking.SpellingHelperTests#L0
artifacts/Test results (ubuntu-latest)/_fv-az1446-706_2024-07-30_09_42_33.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)/_fv-az1446-706_2024-07-30_09_42_33.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)/_fv-az1446-706_2024-07-30_09_42_33.trx [took 0s]
1 out of 4 runs failed: DictionaryCanHaveNonAsciId (SIL.LCModel.Core.SpellChecking.SpellingHelperTests): SIL.LCModel.Core.SpellChecking.SpellingHelperTests#L0
artifacts/Test results (ubuntu-latest)/_fv-az1446-706_2024-07-30_09_42_33.trx [took 0s]
1 out of 4 runs failed: AddBaddBeforeStarSpellling (SIL.LCModel.Core.SpellChecking.SpellingHelperTests): SIL.LCModel.Core.SpellChecking.SpellingHelperTests#L0
artifacts/Test results (ubuntu-latest)/_fv-az1446-706_2024-07-30_09_42_33.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)/_fv-az1446-706_2024-07-30_09_42_33.trx [took 0s]

Artifacts

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