Skip to content

Commit e711a20

Browse files
authored
Use codecov-action to upload coverage reports (#591)
1 parent 1c289c1 commit e711a20

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
steps:
4646
- uses: actions/checkout@v3
4747

48-
- run: pip install codecov
4948
- run: node build/make-nojquery
5049

5150
- run: npm i --omit=peer
@@ -56,22 +55,25 @@ jobs:
5655
- run: npm run karma-bundled-nojquery
5756
- run: npm run karma-bundled-nojquery-cjs
5857

59-
- run: codecov -X gcov -f js-test/coverage/lcov.info
58+
- uses: codecov/codecov-action@v3
59+
with:
60+
files: js-test/coverage/lcov.info
6061

6162
test-dotnet:
6263
runs-on: windows-latest
6364

6465
steps:
6566
- uses: actions/checkout@v3
6667

67-
- run: pip install codecov
6868
- run: nuget install -Verbosity quiet -ExcludeVersion -OutputDirectory . -Version 2022.2.3 JetBrains.dotCover.CommandLineTools
6969

7070
- uses: ./.github/actions/dotnet-test-build
7171

7272
- run: JetBrains.dotCover.CommandLineTools\tools\dotCover cover --ReturnTargetExitCode --ReportType=DetailedXML --Filters="+:module=DevExtreme.AspNet.Data" --Output=coverage_dotnet.xml --TargetExecutable=net\dotnet-test-all.cmd
7373

74-
- run: codecov -X gcov -f coverage_dotnet.xml
74+
- uses: codecov/codecov-action@v3
75+
with:
76+
files: coverage_dotnet.xml
7577

7678
release-packages:
7779
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)