-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating github workflows to add current dir to syspath (#1020)
Co-authored-by: Gavin Aguiar <[email protected]>
- Loading branch information
1 parent
899d023
commit 43e71b5
Showing
2 changed files
with
6 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString36 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString36 }} | ||
run: | | ||
pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
- name: Running 3.7 Tests | ||
if: matrix.python-version == 3.7 | ||
env: | ||
|
@@ -90,7 +90,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString37 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString37 }} | ||
run: | | ||
pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
- name: Running 3.8 Tests | ||
if: matrix.python-version == 3.8 | ||
env: | ||
|
@@ -101,7 +101,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString38 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString38 }} | ||
run: | | ||
pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
- name: Running 3.9 Tests | ||
if: matrix.python-version == 3.9 | ||
env: | ||
|
@@ -112,7 +112,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString39 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString39 }} | ||
run: | | ||
pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
- name: Running 3.10 Tests | ||
if: matrix.python-version == 3.10 | ||
env: | ||
|
@@ -123,7 +123,7 @@ jobs: | |
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString310 }} | ||
AzureWebJobsEventGridConnectionKey: ${{ secrets.LinuxEventGridConnectionKeyString310 }} | ||
run: | | ||
pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
python -m pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -68,7 +68,7 @@ jobs: | |
retry 5 python setup.py extension | ||
- name: Test with pytest | ||
run: | | ||
pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch tests/unittests | ||
python -m pytest --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch tests/unittests | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|