Skip to content

Commit f1d3dad

Browse files
committed
improve codecov
1 parent 208b96b commit f1d3dad

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ jobs:
2323
run: cd aliyun-net-sdk-core.Tests/ && dotnet add package AltCover --version 8.6.14 && cd ../ && dotnet restore && dotnet build
2424
- name: Test
2525
run: dotnet test aliyun-net-sdk-core.Tests/ /p:AltCover=true
26-
- name: Codecov
27-
run: bash <(curl -s https://codecov.io/bash) -c -F unittest
26+
- name: Upload Coverage Report
27+
uses: codecov/codecov-action@v4
28+
with:
29+
token: ${{ secrets.CODECOV_TOKEN }} # required

codecov.yml

-20
This file was deleted.

0 commit comments

Comments
 (0)