Skip to content

Commit 507e635

Browse files
Gavin AguiarGavin Aguiar
authored andcommitted
Revert "Update e2e tests GH workflow to fix flaky tests. (#1276)"
This reverts commit cd16cf0.
1 parent cd16cf0 commit 507e635

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/Scripts/e2e-tests.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/ci_e2e_workflow.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ jobs:
6565
retry 5 python setup.py build
6666
retry 5 python setup.py webhost --branch-name=dev
6767
retry 5 python setup.py extension
68-
- name: Grant execute permission
69-
run: chmod +x .github/Scripts/e2e-tests.sh
7068
- name: Running 3.7 Tests
7169
if: matrix.python-version == 3.7
7270
env:
@@ -77,7 +75,8 @@ jobs:
7775
AzureWebJobsSqlConnectionString: ${{ secrets.LinuxSqlConnectionString37 }}
7876
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString37 }}
7977
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
8180
- name: Running 3.8 Tests
8281
if: matrix.python-version == 3.8
8382
env:
@@ -88,7 +87,8 @@ jobs:
8887
AzureWebJobsSqlConnectionString: ${{ secrets.LinuxSqlConnectionString38 }}
8988
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString38 }}
9089
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
9292
- name: Running 3.9 Tests
9393
if: matrix.python-version == 3.9
9494
env:
@@ -99,7 +99,8 @@ jobs:
9999
AzureWebJobsSqlConnectionString: ${{ secrets.LinuxSqlConnectionString39 }}
100100
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString39 }}
101101
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
103104
- name: Running 3.10 Tests
104105
if: matrix.python-version == 3.10
105106
env:
@@ -110,7 +111,8 @@ jobs:
110111
AzureWebJobsSqlConnectionString: ${{ secrets.LinuxSqlConnectionString310 }}
111112
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString310 }}
112113
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
114116
- name: Running 3.11 Tests
115117
if: matrix.python-version == 3.11
116118
env:
@@ -121,7 +123,8 @@ jobs:
121123
AzureWebJobsSqlConnectionString: ${{ secrets.LinuxSqlConnectionString311 }}
122124
AzureWebJobsEventGridTopicUri: ${{ secrets.LinuxEventGridTopicUriString311 }}
123125
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
125128
- name: Codecov
126129
uses: codecov/[email protected]
127130
with:

0 commit comments

Comments
 (0)