Skip to content

run unit tests in CI against dotnet 8 #272

run unit tests in CI against dotnet 8

run unit tests in CI against dotnet 8 #272

Triggered via pull request August 26, 2024 08:45
Status Failure
Total duration 6m 2s
Artifacts 3

ci-cd.yml

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

Annotations

1 error and 26 warnings
build (windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
build (ubuntu-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 (ubuntu-latest)
- Add lib or ref assemblies for the net461 target framework
build (ubuntu-latest)
- Add lib or ref assemblies for the netstandard2.0 target framework
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#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 (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#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): 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#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): 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)
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

Artifacts

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