Unione di funzione/senza-terzi in funzione/dashboard: installatore senza ICU anche nella release
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
83ad4333cc
3 files changed
+32
-2
No files matched your search
@@ -55,6 +55,32 @@ public sealed partial class PipelineTests
|
||||
}
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void EveryJobThatBuildsTheInstallerOnTheRunnerImageNeedsNoIcu()
|
||||
{
|
||||
// The runner image does not guarantee ICU (run 431 stopped at dotnet publish without it). A job that runs
|
||||
// installer/costruisci.sh outside the Debian container of the tests must put .NET in invariant globalization.
|
||||
var seen = 0;
|
||||
foreach (var name in new[] { "verifica.yml", "rilascio.yml" })
|
||||
{
|
||||
var text = Workflow(name);
|
||||
foreach (Match header in JobHeader().Matches(text))
|
||||
{
|
||||
var job = Job(text, header.Groups["name"].Value);
|
||||
var code = Code(job);
|
||||
if (!code.Contains("installer/costruisci.sh", StringComparison.Ordinal) || code.Contains("container:", StringComparison.Ordinal))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
seen++;
|
||||
StringAssert.Contains(code, "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: \"true\"", $"{name}: {header.Groups["name"].Value}");
|
||||
}
|
||||
}
|
||||
|
||||
Assert.IsGreaterThanOrEqualTo(3, seen, "installatore, windows and release build the installer on the runner image");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void TheWholeSolutionIsBuiltAndTheTestsRunOnlyThroughTheTestProjectWithTheBrowser()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user