Skip to content

Commit ae45f70

Browse files
committed
re-enable integration test
1 parent f1d3dad commit ae45f70

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/ci.yml

+15-3
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)