|
38 | 38 | <_CreateRunsheet Condition=" '$(_RequiresPackages)' != 'true' and '$(FullE2e)' != 'true' ">true</_CreateRunsheet>
|
39 | 39 |
|
40 | 40 | <_CreateRunsheet Condition=" '$(MSBuildProjectName)' == 'Aspire.Templates.Tests' ">false</_CreateRunsheet>
|
| 41 | + |
| 42 | + <!-- FIXME: temporary workaround for https://github.com/Azure/azure-functions-dotnet-worker/issues/2969 --> |
| 43 | + <_PreCommand Condition=" '$(MSBuildProjectName)' == 'Aspire.Playground.Tests' ">./dotnet.sh build "%24(pwd)/playground/AzureFunctionsEndToEnd/AzureFunctionsEndToEnd.Functions/AzureFunctionsEndToEnd.Functions.csproj" -c $(Configuration) /p:SkipUnstableEmulators=true && </_PreCommand> |
41 | 44 | </PropertyGroup>
|
42 | 45 |
|
43 | 46 | <PropertyGroup>
|
|
59 | 62 |
|
60 | 63 | <_TestRunnerWindows>./eng/build.ps1</_TestRunnerWindows>
|
61 | 64 | <_TestRunnerLinux>./eng/build.sh</_TestRunnerLinux>
|
62 |
| - <_TestCommand>-restore -build -test -projects "$(_RelativeTestProjectPath)" /bl:"$(_RelativeTestBinLog)" -c $(Configuration) -ci /p:CI=false</_TestCommand> |
| 65 | + <_TestCommand>-restore -build -test -projects "$(_RelativeTestProjectPath)" /bl:"$(_RelativeTestBinLog)" -c $(Configuration) -ci</_TestCommand> |
63 | 66 |
|
64 | 67 | <!-- Tests requiring packages must be run in the "out of repo" mode -->
|
65 | 68 | <_TestCommand Condition=" '$(_RequiresPackages)' == 'true' ">$(_TestCommand) /p:TestsRunningOutsideOfRepo=true</_TestCommand>
|
66 | 69 |
|
67 | 70 | <!-- Replace \ with /, and then escape " with \", so we have a compliant JSON -->
|
| 71 | + <_PreCommand>$([System.String]::Copy($(_PreCommand)).Replace("\", "/").Replace('"', '\"'))</_PreCommand> |
68 | 72 | <_TestCommand>$([System.String]::Copy($(_TestCommand)).Replace("\", "/").Replace('"', '\"'))</_TestCommand>
|
69 | 73 |
|
70 | 74 | <_TestRunsheetWindows>{ "project": "$(_TestRunsheet)", "os": "windows-latest", "command": "./eng/build.ps1 $(_TestCommand)" }</_TestRunsheetWindows>
|
71 |
| - <_TestRunsheetLinux>{ "project": "$(_TestRunsheet)", "os": "ubuntu-latest", "command": "./eng/build.sh $(_TestCommand)" }</_TestRunsheetLinux> |
| 75 | + <_TestRunsheetLinux>{ "project": "$(_TestRunsheet)", "os": "ubuntu-latest", "command": "$(_PreCommand)./eng/build.sh $(_TestCommand)" }</_TestRunsheetLinux> |
72 | 76 | </PropertyGroup>
|
73 | 77 |
|
74 | 78 | <ItemGroup>
|
|
0 commit comments