-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Briefcase CI doesn't fully validate that Briefcase can be executed #1379
Comments
CI creates a wheel from the version of Briefcase that triggered the workflow run. The "verify app build" workflow installs this wheel for running the testing. So, maybe if CI runs |
You're right - my analysis wasn't correct. Briefcase doesn't run This particular problem also doesn't manifest if you explicitly run However, outside of doing a verification run that does all possible combinations of transitive builds, I'm not sure how we avoid this class of error. The only alternative I can see is unit tests that invoke all the possible transitive combinations, and having those on every possible platform.... maybe if we mock tools entirely and don't pay any attention to output results, just "does the command complete"? |
Briefcase's CI now runs Briefcase as part of a CI run, so I think we can close this. |
Describe the bug
#1377 added support for Android APK builds. It fully passed CI, and was merged.
The problem is that it added a
build_command()
method to the Gradle mixing which overrode thebuild_command()
that... does actual builds.This wasn't picked up in testing because manual testing only checked
run
without a cascading build requirement; and CI doesn't invoke the__call__
method so as to trigger the full cascade of build dependencies. It wasn't picked up during the CI builds of apps because Briefcase's CI doesn't use the version of briefcase from its own branch to build apps.Steps to reproduce
The problem here is that there isn't an error.
If you actually build a project, you see the error
briefcase run android
However, The CI for #1377 didn't generate such an error.
Expected behavior
A gradle build should complete without error.
Screenshots
No response
Environment
Logs
Additional context
This was picked up because Toga builds started failing CI e.g., this CI build in Toga.
The text was updated successfully, but these errors were encountered: