Skip to content

Commit

Permalink
re-enable integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Sep 30, 2024
1 parent f1d3dad commit 01c9828
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
Expand All @@ -21,9 +21,19 @@ jobs:
run: dotnet tool install --global altcover.visualizer --version 8.6.14
- name: Install dependencies
run: cd aliyun-net-sdk-core.Tests/ && dotnet add package AltCover --version 8.6.14 && cd ../ && dotnet restore && dotnet build
- name: Test
- name: Unit Test
run: dotnet test aliyun-net-sdk-core.Tests/ /p:AltCover=true
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # required
- name: Setup proxy
run: |
npm install o_o -g
o_o &
- name: Integration Test
run: dotnet test aliyun-sdk-feature-test/
if: env.ACCESS_KEY_ID != ''
env:
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }}

0 comments on commit 01c9828

Please sign in to comment.