Skip to content

Conversation

@JoshuaMoelans
Copy link
Member

@JoshuaMoelans JoshuaMoelans commented Mar 18, 2025

#skip-changelog
sidequest to be merged into #1176

@JoshuaMoelans
Copy link
Member Author

To avoid overlapping efforts with #962 , we'll limit this PR to only set up NDK tests without running them in CI.

@supervacuus
Copy link
Collaborator

To avoid overlapping efforts with #962 , we'll limit this PR to only set up NDK tests without running them in CI.

If that is the path forward and everything works as you expect it, feel free to change the merge to master and rebase #1176 on top of that merge.

@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review March 20, 2025 12:13
@JoshuaMoelans JoshuaMoelans requested a review from markushi March 20, 2025 12:14
@JoshuaMoelans JoshuaMoelans merged commit 171febc into joshua/feat/sync_android_tracessamplerate Mar 24, 2025
25 checks passed
@JoshuaMoelans JoshuaMoelans deleted the markushi/feat/testable-ndk branch March 24, 2025 10:55
JoshuaMoelans added a commit that referenced this pull request Mar 25, 2025
* Add dependencies to allow running unit tests as well as instrumented android tests

* add ndk test into CI

* moved NDK check+test into `test` job

* add conditional check for ANDROID_API in NDK test/check jobs

* trying to fix CI

* trying to fix CI 2

* Add Java/Gradle setup steps

* Apply checks to NDK lib only

* Apply code formatting

* run tests on reactivecircus emulator

* remove KVM enable step

* update CI (remove NDK test)

---------

Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
JoshuaMoelans added a commit that referenced this pull request Mar 28, 2025
* upgrade gradle

* add tracesSampleRate sync in NDK

* add tracing to NDK example

* update CHANGELOG.md

* add NDK testing setup (#1180)

* Add dependencies to allow running unit tests as well as instrumented android tests

* add ndk test into CI

* moved NDK check+test into `test` job

* add conditional check for ANDROID_API in NDK test/check jobs

* trying to fix CI

* trying to fix CI 2

* Add Java/Gradle setup steps

* Apply checks to NDK lib only

* Apply code formatting

* run tests on reactivecircus emulator

* remove KVM enable step

* update CI (remove NDK test)

---------

Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>

* make tracesSampleRate a get/set instead of constructor parameter

* add check for transaction type in test

* change log levels

* update CHANGELOG.md

* apply suggestions from review

* add messageCaught function

* remove CI testing artifact

* Apply suggestions from code review

Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>

* suggestion from code review

* move NdkTestHelper

* remove unnecessary crash() function

* cleanup tests

---------

Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants