Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Coverage Reports to Codecov on Every Change in Main #127

Closed
sdzhong opened this issue Jan 31, 2024 · 3 comments · Fixed by #146
Closed

Upload Coverage Reports to Codecov on Every Change in Main #127

sdzhong opened this issue Jan 31, 2024 · 3 comments · Fixed by #146
Assignees

Comments

@sdzhong
Copy link
Contributor

sdzhong commented Jan 31, 2024

Codecov reports should be consistently generated for every change in main.

Codecov highlighting is appearing on the stack trace in Sentry, but there is no associated Codecov report:

no-codecov-report.mp4
@sdzhong
Copy link
Contributor Author

sdzhong commented May 3, 2024

Build process:

  1. make all https://github.com/sentry-demos/android/blob/main/Makefile
  2. Android Studio > Sync Project with Gradle Files
  3. ./generate_release_artifacts.sh https://github.com/sentry-demos/android/blob/main/generate_release_artifacts.sh
  4. ./gradlew assembleRelease https://github.com/sentry-demos/android/blob/main/gradlew > assembleRelease

@sdzhong
Copy link
Contributor Author

sdzhong commented May 3, 2024

Create a new GitHub Action https://github.com/sentry-demos/android/tree/main/.github/workflows with on: [push, pull_request] to Run tests and collect coverage and Upload coverage reports to Codecov with GitHub Action.

@sdzhong
Copy link
Contributor Author

sdzhong commented Aug 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants