Skip to content

Commit

Permalink
Move codecov to dedicated ci job #2365
Browse files Browse the repository at this point in the history
  • Loading branch information
hocinehacherouf authored and kbeaugrand committed Aug 7, 2023
1 parent 07aee04 commit f7034e6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,25 @@ jobs:
path: |
src/IoTHub.Portal.Tests.Unit/TestResults
codecov:
name: Codecov
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3.5.3

- uses: actions/download-artifact@v3
with:
name: test-results
path: |
src/IoTHub.Portal.Tests.Unit/TestResults
- name: Upload to Codecov test reports
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: src/IoTHub.Portal.Tests.Unit/TestResults
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)

#e2e-tests:
Expand Down

0 comments on commit f7034e6

Please sign in to comment.