65
65
retry 5 python setup.py build
66
66
retry 5 python setup.py webhost --branch-name=dev
67
67
retry 5 python setup.py extension
68
- - name : Grant execute permission
69
- run : chmod +x .github/Scripts/e2e-tests.sh
70
68
- name : Running 3.7 Tests
71
69
if : matrix.python-version == 3.7
72
70
env :
77
75
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString37 }}
78
76
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString37 }}
79
77
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString37 }}
80
- run : .github/Scripts/e2e-tests.sh
78
+ run : |
79
+ python -m pytest -n auto --dist loadfile --reruns 4 -vv --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend
81
80
- name : Running 3.8 Tests
82
81
if : matrix.python-version == 3.8
83
82
env :
88
87
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString38 }}
89
88
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString38 }}
90
89
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString38 }}
91
- run : .github/Scripts/e2e-tests.sh
90
+ run : |
91
+ python -m pytest -n auto --dist loadfile --reruns 4 -vv --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend
92
92
- name : Running 3.9 Tests
93
93
if : matrix.python-version == 3.9
94
94
env :
99
99
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString39 }}
100
100
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString39 }}
101
101
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString39 }}
102
- run : .github/Scripts/e2e-tests.sh
102
+ run : |
103
+ python -m pytest -n auto --dist loadfile --reruns 4 -vv --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend
103
104
- name : Running 3.10 Tests
104
105
if : matrix.python-version == 3.10
105
106
env :
@@ -110,7 +111,8 @@ jobs:
110
111
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString310 }}
111
112
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString310 }}
112
113
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString310 }}
113
- run : .github/Scripts/e2e-tests.sh
114
+ run : |
115
+ python -m pytest -n auto --dist loadfile --reruns 4 -vv --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend
114
116
- name : Running 3.11 Tests
115
117
if : matrix.python-version == 3.11
116
118
env :
@@ -121,7 +123,8 @@ jobs:
121
123
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString311 }}
122
124
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString311 }}
123
125
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString311 }}
124
- run : .github/Scripts/e2e-tests.sh
126
+ run : |
127
+ python -m pytest -n auto --dist loadfile --reruns 4 -vv --instafail --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend
125
128
- name : Codecov
126
129
127
130
with :
0 commit comments