Skip to content

run unit tests in CI against dotnet 8 #254

run unit tests in CI against dotnet 8

run unit tests in CI against dotnet 8 #254

Triggered via pull request July 30, 2024 07:50
Status Failure
Total duration 6m 31s
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 57 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#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#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#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#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#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#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)
2 out of 4 runs failed: Delete_FailsIfOpenForRead (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: ActualFilePath_FileDoesNotExist (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: WriteStream_FailsOnWriteLock (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: ActualFilePath_DecomposedFilenameExists (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: WriteStream_OpenWrongEncoding (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: WriteStream_WriteStreamTwice (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: IsFilePathValid (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: OpenWrite_FileLocked (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: OpenWrite_FileDoesNotExist (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: OpenWrite_ExistingFile (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: Delete_SucceedsIfFileDoesNotExist (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: ActualFilePath_DirectoryNameComposedFilenameExistsWithDifferentCase_Windows (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: GetFilesInDirectory_NoPattern_FilesAddedWithoutPath (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: WriteStream_Success (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: OpenFileForBinaryWrite_CreateThenReopenFile (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: ActualFilePath_DirectoryNameExactMatchFilenameExistsWithDifferentCase_Windows (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: ActualFilePath_ComposedFilenameExists (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: GetFilesInDirectory_SearchPattern_FilesAddedWithoutPath (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: ActualFilePath_ExactNameExists (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: Delete_FailsIfOpenForWrite (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.trx [took 0s]
2 out of 4 runs failed: ActualFilePath_DirectoryNameDecomposedFilenameExistsWithDifferentCase_Windows (SIL.LCModel.Utils.FileUtilsTest): SIL.LCModel.Utils.FileUtilsTest#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_24.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_29.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-az738-175_2024-07-30_07_52_24.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-az738-175_2024-07-30_07_52_24.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-az738-175_2024-07-30_07_52_24.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-az738-175_2024-07-30_07_52_24.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-az738-175_2024-07-30_07_52_24.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-az738-175_2024-07-30_07_52_24.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-az738-175_2024-07-30_07_52_24.trx [took 0s]
2 out of 4 runs failed: SwitchFromParatext6ToParatext5Project (SIL.LCModel.DomainImpl.ScrImportSetTests): SIL.LCModel.DomainImpl.ScrImportSetTests#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_23.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_56_15.trx [took 0s]
2 out of 4 runs failed: HasNonInterleavedBT_Paratext5 (SIL.LCModel.DomainImpl.ScrImportSetTests): SIL.LCModel.DomainImpl.ScrImportSetTests#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_23.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_56_15.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-az738-175_2024-07-30_07_53_13.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_56_15.trx [took 0s]
2 out of 4 runs failed: HasNonInterleavedNotes_Paratext5 (SIL.LCModel.DomainImpl.ScrImportSetTests): SIL.LCModel.DomainImpl.ScrImportSetTests#L0
artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_55_23.trx [took 0s] artifacts/Test results (windows-latest)/runneradmin_fv-az1347-105_2024-07-30_07_56_15.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-az738-175_2024-07-30_07_53_13.trx [took 0s]

Artifacts

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