Skip to content

Commit

Permalink
re-enable TemplateIntegrationTests, update to fixed alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
matthid committed Oct 8, 2019
1 parent 0629ca6 commit fe01ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -1294,8 +1294,7 @@ if buildLegacy then
==> "RunTests"

"DotNetPackage"
// Temporary disabled due to failing CI
//==> "TemplateIntegrationTests"
==> "TemplateIntegrationTests"
==> "FullDotNetCore"
==> "Default"

Expand Down
2 changes: 1 addition & 1 deletion src/test/Fake.DotNet.Cli.IntegrationTests/TemplateTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ let timeout = (System.TimeSpan.FromMinutes 10.)
let runTemplate rootDir kind dependencies dsl =
Directory.ensure rootDir
try
DotNet.exec (dtntWorkDir rootDir >> redirect()) "new" (sprintf "%s --allow-scripts yes --version 5.16.0 --bootstrap %s --dependencies %s --dsl %s" templateName (string kind) (string dependencies) (string dsl))
DotNet.exec (dtntWorkDir rootDir >> redirect()) "new" (sprintf "%s --allow-scripts yes --version 5.16.2-alpha.1304 --bootstrap %s --dependencies %s --dsl %s" templateName (string kind) (string dependencies) (string dsl))
|> shouldSucceed "should have run the template successfully"
with e ->
if e.Message.Contains "Command succeeded" &&
Expand Down

0 comments on commit fe01ddf

Please sign in to comment.