Fixing the Perf Testing workflow (#994)

* Fixing the Perf Testing workflow
* Adding correct dotnet versions
* Bringing in new image
This commit is contained in:
Varad Meru 2022-04-08 10:38:27 -07:00 коммит произвёл GitHub
Родитель f4d51bd002
Коммит 8800edd632
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -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

10
.github/workflows/perf-testing-setup.yml поставляемый
Просмотреть файл

@ -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