-
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 gaaguiar/build_fixes
- Loading branch information
Showing
90 changed files
with
492 additions
and
207 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ name: CI Docker Consumption tests | |
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Monday to Thursday 1 AM PDT build | ||
# Monday to Thursday 2 AM PDT build | ||
# * is a special character in YAML so you have to quote this string | ||
- cron: "0 8 * * 1,2,3,4" | ||
- cron: "0 9 * * *" | ||
|
||
jobs: | ||
build: | ||
|
@@ -30,6 +30,7 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
python -m pip install -U -e .[dev] | ||
python setup.py build | ||
- name: Running 3.7 Tests | ||
if: matrix.python-version == 3.7 | ||
env: | ||
|
@@ -41,7 +42,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString37 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString37 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --reruns 4 -vv --instafail tests/endtoend | ||
- name: Running 3.8 Tests | ||
if: matrix.python-version == 3.8 | ||
env: | ||
|
@@ -53,7 +54,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString38 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString38 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --reruns 4 -vv --instafail tests/endtoend | ||
- name: Running 3.9 Tests | ||
if: matrix.python-version == 3.9 | ||
env: | ||
|
@@ -65,7 +66,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString39 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString39 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --reruns 4 -vv --instafail tests/endtoend | ||
- name: Running 3.10 Tests | ||
if: matrix.python-version == 3.10 | ||
env: | ||
|
@@ -77,11 +78,4 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString310 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString310 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml # optional | ||
flags: unittests # optional | ||
name: codecov # optional | ||
fail_ci_if_error: false # optional (default = false) | ||
python -m pytest --reruns 4 -vv --instafail 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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
# This workflow will run all tests in endtoend/tests in a docker container using the latest dedicated image | ||
|
||
|
||
name: CI Docker Dedicated tests | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Monday to Thursday 1 AM PDT build | ||
# * is a special character in YAML so you have to quote this string | ||
- cron: "0 8 * * 1,2,3,4" | ||
- cron: "0 8 * * *" | ||
|
||
jobs: | ||
build: | ||
|
@@ -31,6 +30,7 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
python -m pip install -U -e .[dev] | ||
python setup.py build | ||
- name: Running 3.7 Tests | ||
if: matrix.python-version == 3.7 | ||
env: | ||
|
@@ -42,7 +42,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString37 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString37 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --reruns 4 -vv --instafail tests/endtoend | ||
- name: Running 3.8 Tests | ||
if: matrix.python-version == 3.8 | ||
env: | ||
|
@@ -54,7 +54,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString38 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString38 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --reruns 4 -vv --instafail tests/endtoend | ||
- name: Running 3.9 Tests | ||
if: matrix.python-version == 3.9 | ||
env: | ||
|
@@ -66,7 +66,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString39 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString39 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --reruns 4 -vv --instafail tests/endtoend | ||
- name: Running 3.10 Tests | ||
if: matrix.python-version == 3.10 | ||
env: | ||
|
@@ -78,11 +78,4 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString310 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString310 }} | ||
run: | | ||
python -m pytest -n auto --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml # optional | ||
flags: unittests # optional | ||
name: codecov # optional | ||
fail_ci_if_error: false # optional (default = false) | ||
python -m pytest --reruns 4 -vv --instafail 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ignore: | ||
- "tests/utils/testutils.py" | ||
- "tests/utils/testutils_lc.py" | ||
- "tests/utils/" | ||
|
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
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
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
tests/endtoend/blueprint_functions/functions_in_blueprint_only/function_app.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import azure.functions as func | ||
from blueprint import bp | ||
|
||
app = func.FunctionApp() | ||
app = func.FunctionApp(http_auth_level=func.AuthLevel.ANONYMOUS) | ||
|
||
app.register_functions(bp) |
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
2 changes: 1 addition & 1 deletion
2
tests/endtoend/blueprint_functions/multiple_function_registers/function_app.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.