Skip to content

Commit

Permalink
Disable NativeAOT test for CI due to lack of Native AOT prereqs in CI…
Browse files Browse the repository at this point in the history
… system.
  • Loading branch information
normj committed Sep 5, 2024
1 parent d4eef2a commit 7e72cff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ private async Task DeleteDeploymentZipAndBucketAsync(IAmazonS3 s3Client, string

protected async Task<InvokeResponse> InvokeFunctionAsync(IAmazonLambda lambdaClient, string payload)
{
await WaitForFunctionToBeReady(lambdaClient);

var request = new InvokeRequest
{
FunctionName = FunctionName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ public NativeAOTTests(ITestOutputHelper output)
_output = output;
}

#if DEBUG // Only running this test right now in local environment because CI system doesn't have Native AOT prereqs installed.
[Fact]
#endif
public void EnsureNoTrimWarningsDuringPublish()
{
var projectDirectory = FindProject("NativeAOTFunction");
Expand Down

0 comments on commit 7e72cff

Please sign in to comment.