[Bug]: JVM unit tests are not executed on CI

Open
#1,546 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
github-actions, kotlin
Domain
ci-cd, testing

Research direction

Inspect .github/workflows/Build.yaml around line 106 and check how the :core:common module's tests are currently selected. Run the relevant CI workflow or test configuration, then verify that JVM tests execute and expose missing test dependencies such as those discussed in #1544.

Written by the indexing model from the issue text.

Description

bug
Is there an existing issue for this?
  • I have searched the existing issues
Is there a StackOverflow question about this issue?
  • I have searched StackOverflow
What happened?

Since the recent merge of this PR

, the :core:common module is now a pure JVM module.

Unfortunately, the CI currently only runs Android tests:

https://github.com/android/nowinandroid/blob/50b13ecb21138b76e14ff0b2f4cf1dcfda9d0f43/.github/workflows/Build.yaml#L106

This also brought up this issue with missing test dependencies that were not visible on CI builds:

  • #1544
Relevant logcat output

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
Kotlin
Stars
22.1k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/nowinandroid

All issues in android/nowinandroid

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.