File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,30 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
16+ with :
17+ show-progress : false
1618 - name : Setup .NET Core
1719 uses : actions/setup-dotnet@v2
1820 with :
1921 dotnet-version : ' 2.x'
2022 - name : install altcover
2123 run : dotnet tool install --global altcover.visualizer --version 8.6.14
2224 - 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
2527 run : dotnet test aliyun-net-sdk-core.Tests/ /p:AltCover=true
2628 - name : Upload Coverage Report
2729 uses : codecov/codecov-action@v4
2830 with :
2931 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