Fixing the Perf Testing workflow (#994)
* Fixing the Perf Testing workflow * Adding correct dotnet versions * Bringing in new image
This commit is contained in:
Родитель
f4d51bd002
Коммит
8800edd632
|
@ -1,6 +1,6 @@
|
|||
ARG PYTHON_VERSION=3.8
|
||||
|
||||
FROM mcr.microsoft.com/azure-functions/python:3.0.15418-python$PYTHON_VERSION
|
||||
FROM mcr.microsoft.com/azure-functions/python:4-python$PYTHON_VERSION
|
||||
|
||||
# Mounting local machines azure-functions-python-worker and azure-functions-python-library onto it
|
||||
RUN rm -rf /azure-functions-host/workers/python/${PYTHON_VERSION}/LINUX/X64/azure_functions_worker
|
||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
test_to_run: [ SyncHttpTriggerHelloWorld, SyncHttpTriggerWithSyncRequests, AsyncHttpTriggerWithAsyncRequest, SyncHttpTriggerCPUIntensive ] #, SyncPutBlobAsBytesReturnHttpResponse, SyncGetBlobAsBytesReturnHttpResponse ]
|
||||
test_to_run: [ SyncHttpTriggerHelloWorld ]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
||||
|
@ -27,6 +27,14 @@ jobs:
|
|||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '3.1.405'
|
||||
- name: Set up Dotnet 5.0.x
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '5.0.x'
|
||||
- name: Set up Dotnet 6.x
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '6.x'
|
||||
- name: Setup k6 for throughput testing
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
|
|
Загрузка…
Ссылка в новой задаче