Skip to content

ci: run only the debug unit tests - #15

Merged
cheetahbyte merged 1 commit into
mainfrom
ci/debug-unit-tests-only
Nov 10, 2026
Merged

cheetahbyte merged 1 commit into
mainfrom
ci/debug-unit-tests-only

Conversation

@cheetahbyte

Copy link
Copy Markdown
Contributor

Summary

The test job runs ./gradlew testDebugUnitTest instead of ./gradlew test.

Why

./gradlew test runs the unit tests for both debug and release. The release variant has no source set or minification of its own, so the second run repeats the first. On main, the step took 1m55s and the job 2m33s, over the two-minute limit in the root AGENTS.md. release.yml still builds the release variant.

Evidence

This PR's CI run gives the new job duration.

Risk & Rollback

Reversibility: Reversible

Blast Radius: CI only. A release-only compile error would now first show up in release.yml.

The release variant has no sources or minification of its own, so ./gradlew test ran every unit test twice and took the test job past the two-minute limit.
@cheetahbyte cheetahbyte mentioned this pull request Nov 10, 2026
@cheetahbyte
cheetahbyte merged commit d1363ec into main Nov 10, 2026
2 checks passed
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.

1 participant