File tree Expand file tree Collapse file tree 5 files changed +28
-7
lines changed Expand file tree Collapse file tree 5 files changed +28
-7
lines changed Original file line number Diff line number Diff line change 10
10
vmImage : ' ubuntu-latest'
11
11
12
12
variables :
13
- DOTNET_VERSION : ' 3.1.405'
13
+ DOTNET_VERSION : ' 3.1.x'
14
+ DOTNET_VERSION_5 : ' 5.0.x'
14
15
PYTHON_VERSION : ' 3.8'
15
16
16
17
steps :
@@ -24,6 +25,11 @@ steps:
24
25
inputs :
25
26
packageType : ' sdk'
26
27
version : $(DOTNET_VERSION)
28
+ - task : UseDotNet@2
29
+ displayName : ' Install DotNet'
30
+ inputs :
31
+ packageType : ' sdk'
32
+ version : $(DOTNET_VERSION_5)
27
33
- pwsh : ' $(Build.SourcesDirectory)/.ci/e2e_integration_test/start-e2e.ps1'
28
34
env :
29
35
AzureWebJobsStorage : $(AzureWebJobsStorage)
Original file line number Diff line number Diff line change @@ -30,10 +30,14 @@ jobs:
30
30
uses : actions/setup-python@v2
31
31
with :
32
32
python-version : ${{ matrix.python-version }}
33
- - name : Set up Dotnet 3.1.405
33
+ - name : Set up Dotnet 3.1.x
34
34
uses : actions/setup-dotnet@v1
35
35
with :
36
- dotnet-version : ' 3.1.405'
36
+ dotnet-version : ' 3.1.x'
37
+ - name : Set up Dotnet 5.0.x
38
+ uses : actions/setup-dotnet@v1
39
+ with :
40
+ dotnet-version : ' 5.0.x'
37
41
- name : Install dependencies and the worker
38
42
run : |
39
43
retry() {
Original file line number Diff line number Diff line change @@ -27,10 +27,14 @@ jobs:
27
27
uses : actions/setup-python@v2
28
28
with :
29
29
python-version : ${{ matrix.python-version }}
30
- - name : Set up Dotnet 3.1.405
30
+ - name : Set up Dotnet 3.1.x
31
31
uses : actions/setup-dotnet@v1
32
32
with :
33
- dotnet-version : ' 3.1.405'
33
+ dotnet-version : ' 3.1.x'
34
+ - name : Set up Dotnet 5.0.x
35
+ uses : actions/setup-dotnet@v1
36
+ with :
37
+ dotnet-version : ' 5.0.x'
34
38
- name : Install dependencies and the worker
35
39
run : |
36
40
retry() {
Original file line number Diff line number Diff line change 7
7
8
8
variables :
9
9
DOTNET_VERSION : ' 3.1.405'
10
+ DOTNET_VERSION_5 : ' 5.0.x'
10
11
11
12
jobs :
12
13
- job : Tests
@@ -28,10 +29,15 @@ jobs:
28
29
versionSpec : ' $(pythonVersion)'
29
30
addToPath : true
30
31
- task : UseDotNet@2
32
+ displayName : ' Install dotnet'
31
33
inputs :
32
34
packageType : ' sdk'
33
35
version : $(DOTNET_VERSION)
34
- displayName : ' Install dotnet'
36
+ - task : UseDotNet@2
37
+ displayName : ' Install DotNet 5.x'
38
+ inputs :
39
+ packageType : ' sdk'
40
+ version : $(DOTNET_VERSION_5)
35
41
- task : ShellScript@2
36
42
inputs :
37
43
disableAutoCwd : true
Original file line number Diff line number Diff line change 1
- from unittest import TestCase
1
+ from unittest import TestCase , skip
2
2
3
3
import os
4
4
import sys
9
9
)
10
10
11
11
12
+ @skip ('Flaky test and needs stabilization' )
12
13
class TestLinuxConsumption (TestCase ):
13
14
"""Test worker behaviors on specific scenarios.
14
15
You can’t perform that action at this time.
0 commit comments