Skip to content

Commit 2e00ec1

Browse files
committed
Fixing e2e-integ yml - dotnet 6, correct core tools, py3.9
1 parent 0d03a4d commit 2e00ec1

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.ci/e2e_integration_test/pipeline.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pool:
1212
variables:
1313
DOTNET_VERSION: '3.1.x'
1414
DOTNET_VERSION_5: '5.0.x'
15-
PYTHON_VERSION: '3.8'
15+
DOTNET_VERSION_6: '6.x'
16+
PYTHON_VERSION: '3.9'
1617

1718
steps:
1819
- task: UsePythonVersion@0
@@ -21,15 +22,20 @@ steps:
2122
versionSpec: $(PYTHON_VERSION)
2223
addToPath: true
2324
- task: UseDotNet@2
24-
displayName: 'Install DotNet'
25+
displayName: 'Install DotNet 3'
2526
inputs:
2627
packageType: 'sdk'
2728
version: $(DOTNET_VERSION)
2829
- task: UseDotNet@2
29-
displayName: 'Install DotNet'
30+
displayName: 'Install DotNet 5'
3031
inputs:
3132
packageType: 'sdk'
3233
version: $(DOTNET_VERSION_5)
34+
- task: UseDotNet@2
35+
displayName: 'Install DotNet 6'
36+
inputs:
37+
packageType: 'sdk'
38+
version: $(DOTNET_VERSION_6)
3339
- pwsh: '$(Build.SourcesDirectory)/.ci/e2e_integration_test/start-e2e.ps1'
3440
env:
3541
AzureWebJobsStorage: $(AzureWebJobsStorage)

.ci/e2e_integration_test/start-e2e.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Python worker E2E integration test
77
# The E2E integration test will test the worker against a prerelease version of core tools
8-
$FUNC_RUNTIME_VERSION = '3'
8+
$FUNC_RUNTIME_VERSION = '4'
99
$FUNC_RUNTIME_LANGUAGE = 'python'
1010
$AZURE_FUNCTIONS_ENVIRONMENT = "development"
1111
$PYAZURE_WEBHOST_DEBUG = "true"
@@ -84,14 +84,16 @@ Write-Host "Function Exe Path: $funcExePath"
8484
Set-Location $env:BUILD_SOURCESDIRECTORY
8585
Write-Host "Set-Location: $env:BUILD_SOURCESDIRECTORY"
8686

87+
Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green
8788
Write-Host "Preparing E2E integration tests..." -ForegroundColor Green
8889
Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green
8990
python -m pip install -U pip
9091
pip install -e .[dev]
9192
python setup.py build
9293
python setup.py extension
9394
Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green
94-
95+
Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green
96+
Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green
9597
Write-Host "Running E2E integration tests..." -ForegroundColor Green
9698
Write-Host "-----------------------------------------------------------------------------`n" -ForegroundColor Green
9799
$env:CORE_TOOLS_EXE_PATH = "$funcExePath"

0 commit comments

Comments
 (0)