Skip to content

Commit

Permalink
Added Windows check for test
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-wojciechowski committed Sep 13, 2023
1 parent 48c5066 commit 8d93aaf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ public void BuildWithDifferentVersionNumber(string id, string config, string dis
[TestCase("maui-blazor", "Release", DotNetCurrent)]
public void CheckEntitlementsForMauiBlazorOnMacCatalyst(string id, string config, string framework)
{
if(TestEnvironment.IsWindows)
Assert.Ignore("Running MacCatalyst templates is only supported on Mac.");

string projectDir = TestDirectory;
string projectFile = Path.Combine(projectDir, $"{Path.GetFileName(projectDir)}.csproj");
// Note: Debug app is stored in the maccatalyst-x64 folder, while the Release is in parent directory
Expand Down

0 comments on commit 8d93aaf

Please sign in to comment.