From 442c8f05ffae70454d9274b6131535aec7ed3b83 Mon Sep 17 00:00:00 2001 From: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com> Date: Wed, 7 Jun 2023 16:27:32 -0500 Subject: [PATCH] Integration test fixes for CI pipeline (#1259) * Revert "Added worker to pythonpath (#1215)" This reverts commit a60ef25cd77d0ad53f4c3fc0c233fc9e7db84b8c. * Update Python SDK Version to 1.14.1b3 (#1232) * Update Python SDK Version to 1.14.1b3 * Update setup.py --------- Co-authored-by: AzureFunctionsPython * Update Python Worker Version to 4.13.0 * Update Python Worker Version to 4.14.0 * Test fixes * Installing packages with -U * Install packages with updates * Adding python -m to pytest * Reverting change to codecov.yml --------- Co-authored-by: Gavin Aguiar Co-authored-by: AzureFunctionsPython --- .ci/e2e_integration_test/start-e2e.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/e2e_integration_test/start-e2e.ps1 b/.ci/e2e_integration_test/start-e2e.ps1 index bce32987..61e7f0bf 100644 --- a/.ci/e2e_integration_test/start-e2e.ps1 +++ b/.ci/e2e_integration_test/start-e2e.ps1 @@ -88,7 +88,7 @@ Write-Host "-------------------------------------------------------------------- Write-Host "Preparing E2E integration tests..." -ForegroundColor Green Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green python -m pip install -U pip -pip install -e .[dev] +python -m pip install -U -e .[dev] python setup.py build python setup.py extension Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green @@ -97,5 +97,5 @@ Write-Host "-------------------------------------------------------------------- Write-Host "Running E2E integration tests..." -ForegroundColor Green Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green $env:CORE_TOOLS_EXE_PATH = "$funcExePath" -pytest --junitxml=e2e-integration-test-report.xml --reruns 4 tests/endtoend +python -m pytest --junitxml=e2e-integration-test-report.xml --reruns 4 tests/endtoend Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green