Skip to content

Commit

Permalink
Merge all steps into one
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitagarwal1612 committed Aug 23, 2024
1 parent 90b34d2 commit c54df2f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,8 @@ jobs:
- name: Generate codecov report
run: ./gradlew jacocoLocalDebugUnitTestReport

- name: Setup codecov
run: curl -Os https://uploader.codecov.io/latest/linux/codecov

- name: Grant execute permission for codecov
run: chmod +x codecov

- name: Upload codecov report
run: ./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f ground/build/reports/jacoco/jacocoLocalDebugUnitTestReport/jacocoLocalDebugUnitTestReport.xml
- name: Upload coverage to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f ground/build/reports/jacoco/jacocoLocalDebugUnitTestReport/jacocoLocalDebugUnitTestReport.xml

0 comments on commit c54df2f

Please sign in to comment.