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
68
70
- name : Running 3.7 Tests
69
71
if : matrix.python-version == 3.7
70
72
env :
75
77
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString37 }}
76
78
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString37 }}
77
79
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString37 }}
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
80
+ run : .github/Scripts/e2e-tests.sh
80
81
- name : Running 3.8 Tests
81
82
if : matrix.python-version == 3.8
82
83
env :
87
88
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString38 }}
88
89
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString38 }}
89
90
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString38 }}
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
91
+ run : .github/Scripts/e2e-tests.sh
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 : |
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
102
+ run : .github/Scripts/e2e-tests.sh
104
103
- name : Running 3.10 Tests
105
104
if : matrix.python-version == 3.10
106
105
env :
@@ -111,8 +110,7 @@ jobs:
111
110
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString310 }}
112
111
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString310 }}
113
112
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString310 }}
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
113
+ run : .github/Scripts/e2e-tests.sh
116
114
- name : Running 3.11 Tests
117
115
if : matrix.python-version == 3.11
118
116
env :
@@ -123,8 +121,7 @@ jobs:
123
121
AzureWebJobsSqlConnectionString : ${{ secrets.LinuxSqlConnectionString311 }}
124
122
AzureWebJobsEventGridTopicUri : ${{ secrets.LinuxEventGridTopicUriString311 }}
125
123
AzureWebJobsEventGridConnectionKey : ${{ secrets.LinuxEventGridConnectionKeyString311 }}
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
124
+ run : .github/Scripts/e2e-tests.sh
128
125
- name : Codecov
129
126
130
127
with :
0 commit comments