Skip to content

Commit 05cc209

Browse files
committed
Ensure we inject docs-builder on CI for integration tests as well
1 parent 10e8a52 commit 05cc209

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Elastic.Documentation.Configuration/Assembler/AssemblyConfiguration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ public static AssemblyConfiguration Deserialize(string yaml, bool skipPrivateRep
3131
config.ReferenceRepositories[name] = repository;
3232
}
3333

34-
// if we are not running in CI, and we are skipping private repositories, and we can locate the solution directory. build the local docs-content repository
35-
if (string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("CI"))
36-
&& skipPrivateRepositories
34+
// If we are skipping private repositories, and we can locate the solution directory. include the local docs-content repository
35+
// this allows us to test new docset features as part of the assembler build
36+
if (skipPrivateRepositories
3737
&& config.ReferenceRepositories.TryGetValue("docs-builder", out var docsContentRepository)
3838
&& Paths.GetSolutionDirectory() is { } solutionDir
3939
)

0 commit comments

Comments
 (0)