-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into hallvictoria/generic-tests
- Loading branch information
Showing
24 changed files
with
398 additions
and
166 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Python Worker Bug Report | ||
description: File a bug report | ||
title: "[Bug] Bug Title Here" | ||
labels: ["python", "bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
This form will help you to fill in a bug report for the Azure Functions Python Worker. | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear and concise description of what you expected to happen. | ||
placeholder: What should have occurred? | ||
|
||
- type: textarea | ||
id: actual-behavior | ||
attributes: | ||
label: Actual Behavior | ||
description: A clear and concise description of what actually happened. | ||
placeholder: What went wrong? | ||
|
||
- type: textarea | ||
id: reproduction-steps | ||
attributes: | ||
label: Steps to Reproduce | ||
description: Please provide detailed step-by-step instructions on how to reproduce the bug. | ||
placeholder: | | ||
1. Go to the [specific page or section] in the application. | ||
2. Click on [specific button or link]. | ||
3. Scroll down to [specific location]. | ||
4. Observe [describe what you see, e.g., an error message or unexpected behavior]. | ||
5. Include any additional steps or details that may be relevant. | ||
- type: textarea | ||
id: code-snippet | ||
attributes: | ||
label: Relevant code being tried | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
|
||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
|
||
- type: textarea | ||
id: requirements | ||
attributes: | ||
label: requirements.txt file | ||
description: Please copy and paste your requirements.txt file. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
|
||
- type: dropdown | ||
id: environment | ||
attributes: | ||
label: Where are you facing this problem? | ||
default: 0 | ||
options: | ||
- Local - Core Tools | ||
- Production Environment (explain below) | ||
|
||
- type: textarea | ||
id: function-app-name | ||
attributes: | ||
label: Function app name | ||
placeholder: https://github.com/Azure/azure-functions-host/wiki/Sharing-Your-Function-App-name-privately | ||
description: Optionally share your function app name. | ||
|
||
- type: textarea | ||
id: additional-info | ||
attributes: | ||
label: Additional Information | ||
description: Add any other information about the problem here. |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Python Worker Feature Request | ||
description: File a feature report | ||
title: "Request a feature" | ||
labels: ["python", "feature"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
This form will help you to fill in a feature request for the Azure Functions Python Worker. | ||
- type: textarea | ||
id: binding-type | ||
attributes: | ||
label: Binding Type | ||
description: Add information about the binding type. | ||
placeholder: Is this on an existing binding or new binding? | ||
|
||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear and concise description of what you expected to happen. | ||
placeholder: What should have occurred? | ||
|
||
- type: textarea | ||
id: code-snippet | ||
attributes: | ||
label: Relevant sample code snipped | ||
description: Please copy and paste any relevant code snippet of how you want the feature to be used. (This will be automatically formatted into code, so no need for backticks) | ||
render: shell | ||
|
||
- type: textarea | ||
id: additional-info | ||
attributes: | ||
label: Additional Information | ||
description: Add any other information about the problem here. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
python -m pytest -q -n auto --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/extension_tests/deferred_bindings_tests |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
#!/usr/bin/env bash | ||
python -m pytest -q -n auto --dist loadfile --reruns 4 --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend/test_worker_process_count_functions.py tests/endtoend/test_threadpool_thread_count_functions.py | ||
python -m pytest -q -n auto --dist loadfile --reruns 4 --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append --ignore=tests/endtoend/test_worker_process_count_functions.py --ignore=tests/endtoend/test_threadpool_thread_count_functions.py tests/endtoend | ||
python -m pytest -q -n auto --dist loadfile --reruns 4 --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/extension_tests/deferred_bindings_tests | ||
python -m pytest -q -n auto --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append --ignore=tests/endtoend/test_worker_process_count_functions.py --ignore=tests/endtoend/test_threadpool_thread_count_functions.py tests/endtoend |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
python -m pytest -q -n 1 --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend/test_worker_process_count_functions.py tests/endtoend/test_threadpool_thread_count_functions.py |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.