File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 7
7
paths :
8
8
- ' src/**'
9
9
- ' test/e2e/**'
10
+ - ' Directory.Build.targets'
11
+ - ' Directory.Packages.props'
10
12
pull_request :
11
13
branches : [ main, dev ]
12
14
paths :
13
15
- ' src/**'
14
16
- ' test/e2e/**'
17
+ - ' Directory.Build.targets'
18
+ - ' Directory.Packages.props'
15
19
16
20
jobs :
17
21
e2e-azurestorage-linux :
Original file line number Diff line number Diff line change 44
44
projects : ' **/**/*.csproj'
45
45
feedsToUse : config
46
46
nugetConfigPath : ' nuget.config'
47
-
47
+
48
+ - task : UsePythonVersion@0
49
+ inputs :
50
+ versionSpec : ' 3.11.x'
51
+ addToPath : true
52
+ architecture : ' x64'
53
+
54
+ - task : PowerShell@2
55
+ displayName : ' Build E2E test apps'
56
+ inputs :
57
+ filePath : ' test/e2e/tests/build-e2e-test.ps1'
58
+ arguments : ' -SkipStorageEmulator -SkipCoreTools'
59
+ pwsh : true
60
+
48
61
# Build durable-extension
49
62
- task : VSBuild@1
50
63
displayName : ' Build Durable Extension'
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function StopOnFailedExecution {
59
59
}
60
60
61
61
$FUNC_CLI_DIRECTORY = Join-Path $ProjectTemporaryPath ' Azure.Functions.Cli'
62
- if ($SkipCoreTool -or (Test-Path $FUNC_CLI_DIRECTORY ))
62
+ if ($SkipCoreTools -or (Test-Path $FUNC_CLI_DIRECTORY ))
63
63
{
64
64
Write-Host " ---Skipping Core Tools download---"
65
65
}
@@ -144,7 +144,12 @@ function InstallExtensionAndBuildTestApp($testAppDir) {
144
144
dotnet add ' extensions.csproj' package ' Microsoft.Azure.WebJobs.Extensions.DurableTask' -- version $webJobsExtensionVersion -- source " .\packages" -- no- restore
145
145
146
146
Write-Host " Syncing extensions"
147
- .(Join-Path $FUNC_CLI_DIRECTORY " func" ) extensions sync
147
+ if ((Test-Path (Join-Path $FUNC_CLI_DIRECTORY " func" )) -or (Test-Path (Join-Path $FUNC_CLI_DIRECTORY " func.exe" ))) {
148
+ .(Join-Path $FUNC_CLI_DIRECTORY " func" ) extensions sync
149
+ }
150
+ else {
151
+ Write-Warning " func command not found. Skipping extensions sync."
152
+ }
148
153
}
149
154
150
155
if (Test-Path " .\requirements.txt" ) {
You can’t perform that action at this time.
0 commit comments