DEBUG: Azure function instrumentation testing#1344
Closed
Conversation
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature-azure-functions #1344 +/- ##
===========================================================
- Coverage 81.48% 80.62% -0.86%
===========================================================
Files 204 205 +1
Lines 22821 23010 +189
Branches 3617 3659 +42
===========================================================
- Hits 18595 18552 -43
- Misses 3013 3246 +233
+ Partials 1213 1212 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WIP
Create integration tests in CI/CD for azure-functions.
Notes to consider:
function_app.pyrequirements.txthost.json/home/site/wwwroot/directory. The packages in therequirements.txtthen get installed in the/home/site/wwwroot/.python_packages/lib/site-packagesdirectory.azure-functions-core-tools-4(homebrew on mac) and thenazure-functions(pip)/usr/local/Cellar/azure-functions-core-tools@4/{specific_version}/workers/python/{python_version}/{operating_system}/{architecture}/azure_functions_worker//usr/local/Cellar/azure-functions-core-tools@4/{specific_version}/workers/python/{python_version}/{operating_system}/{architecture}/worker.pydispatcher.pyfile in the portal is split into a pre-compiled file and Python (connectanddispatch_foreverdo not run in Python for example). The point where the Python implementation begins is the_handle__invocation_requestfunction.function_app.py, is in the/home/site/wwwroot/directory.