@@ -5,10 +5,14 @@ name: CI Consumption E2E tests
55
66on :
77 workflow_dispatch :
8+ inputs :
9+ custom_image :
10+ description : " Use a custom image to run consumption tests"
11+ required : false
812 push :
9- branches : [ dev, master, main, release/* ]
13+ branches : [ dev, main, release/* ]
1014 pull_request :
11- branches : [ dev, master, main, release/* ]
15+ branches : [ dev, main, release/* ]
1216
1317jobs :
1418 build :
@@ -35,24 +39,29 @@ jobs:
3539 if : matrix.python-version == 3.7
3640 env :
3741 AzureWebJobsStorage : ${{ secrets.LinuxStorageConnectionString37 }}
42+ CUSTOM_IMAGE : ${{ github.event.inputs.custom_image }}
3843 run : python -m pytest -n auto --dist loadfile -vv --reruns 4 --instafail tests/consumption_tests
3944 - name : Running 3.8 Tests
4045 if : matrix.python-version == 3.8
4146 env :
4247 AzureWebJobsStorage : ${{ secrets.LinuxStorageConnectionString38 }}
48+ CUSTOM_IMAGE : ${{ github.event.inputs.custom_image }}
4349 run : python -m pytest -n auto --dist loadfile -vv --reruns 4 --instafail tests/consumption_tests
4450 - name : Running 3.9 Tests
4551 if : matrix.python-version == 3.9
4652 env :
4753 AzureWebJobsStorage : ${{ secrets.LinuxStorageConnectionString39 }}
54+ CUSTOM_IMAGE : ${{ github.event.inputs.custom_image }}
4855 run : python -m pytest -n auto --dist loadfile -vv --reruns 4 --instafail tests/consumption_tests
4956 - name : Running 3.10 Tests
5057 if : matrix.python-version == 3.10
5158 env :
5259 AzureWebJobsStorage : ${{ secrets.LinuxStorageConnectionString310 }}
60+ CUSTOM_IMAGE : ${{ github.event.inputs.custom_image }}
5361 run : python -m pytest -n auto --dist loadfile -vv --reruns 4 --instafail tests/consumption_tests
5462 - name : Running 3.11 Tests
5563 if : matrix.python-version == 3.11
5664 env :
5765 AzureWebJobsStorage : ${{ secrets.LinuxStorageConnectionString311 }}
66+ CUSTOM_IMAGE : ${{ github.event.inputs.custom_image }}
5867 run : python -m pytest -n auto --dist loadfile -vv --reruns 4 --instafail tests/consumption_tests
0 commit comments