Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for azure function #280

Merged
merged 4 commits into from
Sep 8, 2024

fix: testing azure function

436a9da
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Add support for azure function #280

fix: testing azure function
436a9da
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results (ubuntu-latest) failed Sep 8, 2024 in 0s

186 passed, 18 failed and 3 skipped

Tests failed

Report Passed Failed Skipped Time
tests/Buildalyzer.Tests/TestResults/test-results.trx 173✅ 18❌ 3⚪ 189s
tests/Buildalyzer.Workspaces.Tests/TestResults/test-results.trx 13✅ 42s

❌ tests/Buildalyzer.Tests/TestResults/test-results.trx

194 tests were completed in 189s with 173 passed, 18 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Buildalyzer.Tests.Compiler.CompilerCommandFixture 3✅ 584ms
Buildalyzer.Tests.Construction.PackageReferenceFixture 3✅ 3ms
Buildalyzer.Tests.Environment.DotNetInfoFixture 3✅ 9ms
Buildalyzer.Tests.Environment.EnvironmentFactoryFixture 61✅ 38ms
Buildalyzer.Tests.Environment.MsBuildPropertiesFixture 1✅ 3ms
Buildalyzer.Tests.Integration.SimpleProjectsFixture 96✅ 18❌ 3⚪ 187s
Buildalyzer.Tests.IO.IOPathFixture 2✅ 0ms
Project_GUID_specs.Creates 4✅ 1ms

✅ Buildalyzer.Tests.Compiler.CompilerCommandFixture

✅ Parse_CS
✅ Parse_FSharp
✅ Parse_VB

✅ Buildalyzer.Tests.Construction.PackageReferenceFixture

✅ PackageReferenceWithIncludeShouldContainName
✅ PackageReferenceWithUpgradeShouldContainName
✅ PackageReferenceWithVersionShouldContainVersion

✅ Buildalyzer.Tests.Environment.DotNetInfoFixture

✅ Parses_Linux
✅ Parses_Windows_NET_Core
✅ Parses_Windows_NET8

✅ Buildalyzer.Tests.Environment.EnvironmentFactoryFixture

✅ IsFrameworkTargetFrameworkForTfm("net11",True)
✅ IsFrameworkTargetFrameworkForTfm("net20",True)
✅ IsFrameworkTargetFrameworkForTfm("net35",True)
✅ IsFrameworkTargetFrameworkForTfm("net40",True)
✅ IsFrameworkTargetFrameworkForTfm("net403",True)
✅ IsFrameworkTargetFrameworkForTfm("net45",True)
✅ IsFrameworkTargetFrameworkForTfm("net451",True)
✅ IsFrameworkTargetFrameworkForTfm("net452",True)
✅ IsFrameworkTargetFrameworkForTfm("net46",True)
✅ IsFrameworkTargetFrameworkForTfm("net461",True)
✅ IsFrameworkTargetFrameworkForTfm("net462",True)
✅ IsFrameworkTargetFrameworkForTfm("net47",True)
✅ IsFrameworkTargetFrameworkForTfm("net471",True)
✅ IsFrameworkTargetFrameworkForTfm("net472",True)
✅ IsFrameworkTargetFrameworkForTfm("net48",True)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-android",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-ios",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-macos",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-tvos",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-watchos",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0-windows",False)
✅ IsFrameworkTargetFrameworkForTfm("net5.0",False)
✅ IsFrameworkTargetFrameworkForTfm("net5",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-android",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-ios",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-macos",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-tvos",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-watchos",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0-windows",False)
✅ IsFrameworkTargetFrameworkForTfm("net6.0",False)
✅ IsFrameworkTargetFrameworkForTfm("net6",False)
✅ IsFrameworkTargetFrameworkForTfm("netcore",True)
✅ IsFrameworkTargetFrameworkForTfm("netcore45",True)
✅ IsFrameworkTargetFrameworkForTfm("netcore451",True)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp1.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp1.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp2.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp2.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp2.2",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp3.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netcoreapp3.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netmf",True)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.1",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.2",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.3",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.4",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.5",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard1.6",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard2.0",False)
✅ IsFrameworkTargetFrameworkForTfm("netstandard2.1",False)
✅ IsFrameworkTargetFrameworkForTfm("sl4",True)
✅ IsFrameworkTargetFrameworkForTfm("sl5",True)
✅ IsFrameworkTargetFrameworkForTfm("uap",True)
✅ IsFrameworkTargetFrameworkForTfm("uap10.0",True)
✅ IsFrameworkTargetFrameworkForTfm("wp",True)
✅ IsFrameworkTargetFrameworkForTfm("wp7",True)
✅ IsFrameworkTargetFrameworkForTfm("wp75",True)
✅ IsFrameworkTargetFrameworkForTfm("wp8",True)
✅ IsFrameworkTargetFrameworkForTfm("wp81",True)
✅ IsFrameworkTargetFrameworkForTfm("wpa81",True)

✅ Buildalyzer.Tests.Environment.MsBuildPropertiesFixture

✅ Provides_DesignTime_properties

❌ Buildalyzer.Tests.Integration.SimpleProjectsFixture

⚪ AzureFunctionSourceFiles
✅ Builds_DesignTime(Core,"ResponseFile\\ResponseFile.csproj")
✅ Builds_DesignTime(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ Builds_DesignTime(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ Builds_DesignTime(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ Builds_DesignTime(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ Builds_DesignTime(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ Builds_DesignTime(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ Builds_DesignTime(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ Builds_DesignTime(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ Builds_DesignTime(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ BuildsFSharpProject
✅ BuildsLotsOfProjects
✅ BuildsProject(Core,"ResponseFile\\ResponseFile.csproj")
✅ BuildsProject(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ BuildsProject(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ BuildsProject(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ BuildsProject(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ BuildsProject(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ BuildsProject(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ BuildsProject(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ BuildsProject(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ BuildsProject(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ BuildsProject(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ BuildsProject(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ BuildsProject(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ BuildsProject(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ BuildsProject(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ BuildsProjectWithoutLogger(Core)
✅ BuildsVisualBasicProject
✅ DuplicateProjectReferences
✅ FiltersProjectsInSolution
✅ GetsProjectGuidFromProject(Core)
✅ GetsProjectGuidFromSolution(Core)
✅ GetsProjectsInSolution
✅ GetsReferences(Core,"ResponseFile\\ResponseFile.csproj")
✅ GetsReferences(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsReferences(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsReferences(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsReferences(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsReferences(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsReferences(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsReferences(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsReferences(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsReferences(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsReferences(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsReferences(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsReferences(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsReferences(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsReferences(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
✅ GetsSourceFiles(Core,"ResponseFile\\ResponseFile.csproj")
✅ GetsSourceFiles(Core,"SdkNet5Project\\SdkNet5Project.csproj")
✅ GetsSourceFiles(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
✅ GetsSourceFiles(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
✅ GetsSourceFiles(Core,"SdkNet6Project\\SdkNet6Project.csproj")
✅ GetsSourceFiles(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
✅ GetsSourceFiles(Core,"SdkNet7Project\\SdkNet7Project.csproj")
✅ GetsSourceFiles(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
✅ GetsSourceFiles(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
✅ GetsSourceFiles(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
❌ GetsSourceFilesFromBinaryLog(Core,"ResponseFile\\ResponseFile.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNet5Project\\SdkNet5Project.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNet6Exe\\SdkNet6Exe.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNet6ImplicitUsings\\SdkNet6ImplicitUsings.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNet6Project\\SdkNet6Project.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNet6SelfContained\\SdkNet6SelfContained.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNet7Project\\SdkNet7Project.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNet8CS12FeaturesProject\\SdkNet8CS12FeaturesProject.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectImport\\SdkNetCore2ProjectImport.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectWithAnalyzer\\SdkNetCore2ProjectWithAnalyzer.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectWithImportedProps\\SdkNetCore2ProjectWithImportedProps.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2ProjectWithReference\\SdkNetCore2ProjectWithReference.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetCore31Project\\SdkNetCore31Project.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProject\\SdkNetStandardProject.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProjectImport\\SdkNetStandardProjectImport.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProjectWithConstants\\SdkNetStandardProjectWithConstants.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
❌ GetsSourceFilesFromBinaryLog(Core,"SdkNetStandardProjectWithPackageReference\\SdkNetStandardProjectWithPackageReference.csproj")
	System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
✅ GetsSourceFilesFromBinLogFile("SdkNetCore31Project-v14.binlog",14)
✅ GetsSourceFilesFromBinLogFile("SdkNetCore31Project-v9.binlog",9)
✅ IgnoreSolutionItemsThatAreNotProjects
✅ LegacyFrameworkProjectWithPackageReferenceGetsPackageReferences
⚪ LegacyFrameworkProjectWithPackageReferenceGetsReferences
✅ LegacyFrameworkProjectWithProjectReferenceGetsReferences
✅ MultiTargetingBuildAllTargetFrameworksGetsSourceFiles
✅ MultiTargetingBuildCoreTargetFrameworkGetsSourceFiles
✅ MultiTargetingBuildFrameworkTargetFrameworkGetsSourceFiles
✅ Resolves_additional_files
✅ Resolves_additional_files_for_Razor_project
✅ SdkProjectWithDefineContstantsGetsPreprocessorSymbols
✅ SdkProjectWithPackageReferenceGetsPackageReferences
✅ SdkProjectWithPackageReferenceGetsReferences
✅ SdkProjectWithProjectReferenceGetsReferences
✅ SolutionDirShouldEndWithDirectorySeparator
⚪ WpfControlLibraryGetsSourceFiles

✅ Buildalyzer.Tests.IO.IOPathFixture

✅ Is_seperator_agnostic
✅ Supports_type_conversion("c:\\Program Files\\Buildalyzer")

✅ Project_GUID_specs.Creates

✅ SHA1_based_GUID("","1b4db7eb-4057-5ddf-91e0-36dec72071f5")
✅ SHA1_based_GUID("ABCDEFGHIJK","2a738916-9f0a-5c81-a8fa-cc64ba606458")
✅ SHA1_based_GUID("Buildalyzer","74397281-1b33-5316-aad1-c7ef52552d75")
✅ SHA1_based_GUID(null,"1b4db7eb-4057-5ddf-91e0-36dec72071f5")

✅ tests/Buildalyzer.Workspaces.Tests/TestResults/test-results.trx

13 tests were completed in 42s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Buildalyzer.Workspaces.Tests.ProjectAnalyzerExtensionsFixture 13✅ 41s

✅ Buildalyzer.Workspaces.Tests.ProjectAnalyzerExtensionsFixture

✅ AddsProjectReferences(False,1)
✅ AddsProjectReferences(True,3)
✅ AddsTransitiveProjectReferences(False,1)
✅ AddsTransitiveProjectReferences(True,4)
✅ CreatesCompilationOptions
✅ Loads_Workspace
✅ LoadsSolution
✅ SupportsAdditionalFiles
✅ SupportsAnalyzers
✅ SupportsCompilation
✅ SupportsConstants
✅ SupportsLangVersion12Features
✅ SupportsNullabilityEnabled

Annotations

Check failure on line 100 in src/Buildalyzer/AnalyzerManager.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (ubuntu-latest)

Buildalyzer.Tests.Integration.SimpleProjectsFixture ► GetsSourceFilesFromBinaryLog(Core,"ResponseFile\\ResponseFile.csproj")

Failed test found in:
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
  tests/Buildalyzer.Tests/TestResults/test-results.trx
Error:
  System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
Raw output
System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.EnsureFileFormatVersionKnown(Int32 fileFormatVersion) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 151
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(Stream stream, Progress progress) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 65
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(String sourceFilePath, Progress progress) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 50
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(String sourceFilePath) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 39
   at Buildalyzer.AnalyzerManager.Analyze(String binLogPath, IEnumerable`1 buildLoggers) in /home/runner/work/Buildalyzer/Buildalyzer/src/Buildalyzer/AnalyzerManager.cs:line 100
   at Buildalyzer.Tests.Integration.SimpleProjectsFixture.GetsSourceFilesFromBinaryLog(EnvironmentPreference preference, String projectFile) in /home/runner/work/Buildalyzer/Buildalyzer/tests/Buildalyzer.Tests/Integration/SimpleProjectsFixture.cs:line 181
   at InvokeStub_SimpleProjectsFixture.GetsSourceFilesFromBinaryLog(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 100 in src/Buildalyzer/AnalyzerManager.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (ubuntu-latest)

Buildalyzer.Tests.Integration.SimpleProjectsFixture ► GetsSourceFilesFromBinaryLog(Core,"SdkNetCore2Project\\SdkNetCore2Project.csproj")

Failed test found in:
  tests/Buildalyzer.Tests/TestResults/test-results.trx
Error:
  System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
Raw output
System.NotSupportedException : Unsupported log file format. Latest supported version is 16, the log file has version 18.
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.EnsureFileFormatVersionKnown(Int32 fileFormatVersion) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 151
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(Stream stream, Progress progress) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 65
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(String sourceFilePath, Progress progress) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 50
   at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(String sourceFilePath) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 39
   at Buildalyzer.AnalyzerManager.Analyze(String binLogPath, IEnumerable`1 buildLoggers) in /home/runner/work/Buildalyzer/Buildalyzer/src/Buildalyzer/AnalyzerManager.cs:line 100
   at Buildalyzer.Tests.Integration.SimpleProjectsFixture.GetsSourceFilesFromBinaryLog(EnvironmentPreference preference, String projectFile) in /home/runner/work/Buildalyzer/Buildalyzer/tests/Buildalyzer.Tests/Integration/SimpleProjectsFixture.cs:line 181
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)