Skip to content

Commit

Permalink
Use codecov-action to upload coverage reports (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr authored Apr 13, 2023
1 parent 1c289c1 commit e711a20
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: pip install codecov
- run: node build/make-nojquery

- run: npm i --omit=peer
Expand All @@ -56,22 +55,25 @@ jobs:
- run: npm run karma-bundled-nojquery
- run: npm run karma-bundled-nojquery-cjs

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

test-dotnet:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

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

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

- 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

- run: codecov -X gcov -f coverage_dotnet.xml
- uses: codecov/codecov-action@v3
with:
files: coverage_dotnet.xml

release-packages:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e711a20

Please sign in to comment.