File tree 1 file changed +15
-3
lines changed
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,30 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ show-progress : false
16
18
- name : Setup .NET Core
17
19
uses : actions/setup-dotnet@v2
18
20
with :
19
21
dotnet-version : ' 2.x'
20
22
- name : install altcover
21
23
run : dotnet tool install --global altcover.visualizer --version 8.6.14
22
24
- name : Install dependencies
23
- run : cd aliyun-net-sdk-core.Tests/ && dotnet add package AltCover --version 8.6.14 && cd ../ && dotnet restore && dotnet build
24
- - name : Test
25
+ run : cd aliyun-net-sdk-core.Tests/ && dotnet add package AltCover --version 8.6.14 && cd ../ && dotnet restore -v minimal && dotnet build
26
+ - name : Unit Test
25
27
run : dotnet test aliyun-net-sdk-core.Tests/ /p:AltCover=true
26
28
- name : Upload Coverage Report
27
29
uses : codecov/codecov-action@v4
28
30
with :
29
31
token : ${{ secrets.CODECOV_TOKEN }} # required
32
+ - name : Setup proxy
33
+ run : |
34
+ npm install o_o -g
35
+ o_o &
36
+ - name : Integration Test
37
+ run : dotnet test aliyun-sdk-feature-test/
38
+ if : env.ACCESS_KEY_ID != ''
39
+ env :
40
+ ACCESS_KEY_ID : ${{ secrets.ACCESS_KEY_ID }}
41
+ ACCESS_KEY_SECRET : ${{ secrets.ACCESS_KEY_SECRET }}
You can’t perform that action at this time.
0 commit comments