Skip to content

Adds Git protection rules (#859) #1504

Adds Git protection rules (#859)

Adds Git protection rules (#859) #1504

GitHub Actions / Windows .NET 4.6.2 E2E test results succeeded Jun 27, 2024 in 1s

29 passed, 0 failed and 0 skipped

Tests passed successfully

✅ ./TestResults/Win-E2E_net462_20240627190639.trx

29 tests were completed in 7s with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Octopus.Client.E2ETests.InlinedDependenciesFixture 7✅ 1s
Octopus.Client.E2ETests.NuSpecDependenciesFixture 20✅ 39ms
Octopus.Client.E2ETests.OctopusClientsCanBeMockedFixture 2✅ 391ms

✅ Octopus.Client.E2ETests.InlinedDependenciesFixture

✅ HasInlinedDependency("Newtonsoft.Json","Newtonsoft.Json.JsonConvert",Internal)
✅ HasInlinedDependency("Octodiff","Octodiff.Core.DeltaBuilder",Internal)
✅ HasInlinedDependency("Octopus.Server.MessageContracts.Base.HttpRoutes","Octopus.Server.MessageContracts.Base.HttpRoutes.HttpRouteTemplateAttribute",Public)
✅ HasInlinedDependency("Octopus.Server.MessageContracts.Base","Octopus.Server.MessageContracts.Base.ICommand`2",Public)
✅ HasInlinedDependency("Octopus.TinyTypes.Json","Octopus.TinyTypes.Json.TinyTypeJsonConverter",Internal)
✅ HasInlinedDependency("Octopus.TinyTypes.TypeConverters","Octopus.TinyTypes.TypeConverters.TinyTypeConverter`1",Internal)
✅ HasInlinedDependency("Octopus.TinyTypes","Octopus.TinyTypes.TinyType`1",Internal)

✅ Octopus.Client.E2ETests.NuSpecDependenciesFixture

✅ DependencyVersionShouldBeSameVersionAsCsProj(".NETStandard2.0","Microsoft.CSharp")
✅ DependencyVersionShouldBeSameVersionAsCsProj(".NETStandard2.0","System.ComponentModel.Annotations")
✅ NuSpecFileShouldHave3FrameworkAssembliesForNetFramework462
✅ NuSpecFileShouldHave3FrameworkAssembliesForNetFramework48
✅ NuSpecFileShouldHaveADependencyGroupForEachTargetFramework
✅ NuSpecFileShouldHaveADependencyNode
✅ NuSpecFileShouldHaveAFrameworkAssembliesNode
✅ NuSpecFileShouldHaveCorrectDependencyCounts(".NETFramework4.6.2",[])
✅ NuSpecFileShouldHaveCorrectDependencyCounts(".NETStandard2.0",["Microsoft.CSharp", "System.ComponentModel.Annotations"])
✅ NuSpecFileShouldHaveCorrectDependencyGroups(".NETFramework4.6.2",[])
✅ NuSpecFileShouldHaveCorrectDependencyGroups(".NETStandard2.0",["Microsoft.CSharp", "System.ComponentModel.Annotations"])
✅ NuSpecFileShouldHaveExpectedDependency(".NETStandard2.0","Microsoft.CSharp")
✅ NuSpecFileShouldHaveExpectedDependency(".NETStandard2.0","System.ComponentModel.Annotations")
✅ NuSpecFileShouldHaveSystemComponentModelDataAnnotationsFrameworkAssemblyForNetFramework462("System.ComponentModel.DataAnnotations")
✅ NuSpecFileShouldHaveSystemComponentModelDataAnnotationsFrameworkAssemblyForNetFramework462("System.Net.Http")
✅ NuSpecFileShouldHaveSystemComponentModelDataAnnotationsFrameworkAssemblyForNetFramework462("System.Numerics")
✅ NuSpecFileShouldHaveSystemComponentModelDataAnnotationsFrameworkAssemblyForNetFramework48("System.ComponentModel.DataAnnotations")
✅ NuSpecFileShouldHaveSystemComponentModelDataAnnotationsFrameworkAssemblyForNetFramework48("System.Net.Http")
✅ NuSpecFileShouldHaveSystemComponentModelDataAnnotationsFrameworkAssemblyForNetFramework48("System.Numerics")
✅ NuSpecFileShouldOnlyHaveFrameworkAssembliesForNetFramework

✅ Octopus.Client.E2ETests.OctopusClientsCanBeMockedFixture

✅ WeShouldBeAbleToCreateAMockAsyncClient
✅ WeShouldBeAbleToCreateAMockClient