Comments (7)
@Rocksnake this issue is here for anyone to pick up, so feel free to take on :)
I think adding UI tests is out of scope for this issue, I was imaging this would purely be an improvement on the current workflow set up. Doing something like:
- Create a reusable workflow similar to https://github.com/android/compose-samples/blob/main/.github/workflows/build-sample.yml
- Update
Build.yaml
to use the reusable workflow - Create a new workflow that to build/test
app-nia-catalog
from nowinandroid.
Thanks for clarifying. Yes, it makes sense to close this as the current workflow already accounts for both apps. I don't see much value in creating a separate workflow in that case.
from nowinandroid.
@arriolac, I hope you can assign this issue to me, I will directly add the build
workflow in Build.yaml
to build the app-nia-catalog
module.
However, there is a question about the test
workflow of the app-nia-catalog
module that needs to be answered, the app-nia-catalog
module does not have the same functions as the app module and needs ui test. In the app
module, the Navigation
needs to do ui test. Do I need to add ui testing in the app-nia-catalog
?
Great Thanks!
from nowinandroid.
I guess it make sense to wait for this PR #130 to get merged
from nowinandroid.
@arriolac after looking at it more closely, compose-samples
is monorepo with multiple apps while nowinandroid
is single app repo with extra demo app.
Maybe this issue is outdated?
The current Build.yaml workflow is specific to building and testing the app module, however, there are more than 1 apps in the project.
Because current workflow builds and tests all modules, the only app
specific steps are Upload build outputs
& Upload build reports
If we are interested in build outputs for app-nia-catalog
it is easy to add, as for reusable workflow we can extract 2 steps mentioned above, yet it would be of questionable value since it's only lint reports and they are usually ignored by most devs unless configured to warningsAsErrors true
Would you please advise on how to proceed or close the issue?
from nowinandroid.
@YuraLaguta great that you are helping out with this. You can have the workflow accept two parameters (like uploadOutputs
and uploadReports
) which can default to true
but overridden by app-nia-catalog
to set as false
so the behavior of outputs of the workflows won't change.
from nowinandroid.
@arriolac thanks for quick reply, I'm sorry for not being clear enough, the problem stated in the issue description does NOT exist.
The current Build.yaml workflow is specific to building and testing the app module
Current Build.yaml
:
...
- name: Build all build type and flavor permutations
run: ./gradlew assemble --stacktrace
- name: Run local tests
run: ./gradlew testDemoDebug testProdDebug --stacktrace
...
script: ./gradlew connectedProdDebugAndroidTest -x :benchmark:connectedProdBenchmarkAndroidTest --stacktrace
builds and tests all modules in the project.
from nowinandroid.
Related Issues (20)
- [Bug]: Plugin [id: 'org.gradle.kotlin.kotlin-dsl', version: '4.0.7'] was not found in any of the following sources: HOT 1
- [Bug]: Permission: android.permission.WRITE_EXTERNAL_STORAGE cannot be granted! while running Macrobenchmark
- [Feature request]: Different icons for each build variant HOT 5
- [Bug]: Build fails on 2021.3.1 Patch 1 HOT 2
- [FR]: App icon supporting light and dark themes
- [FR]: Update compileSdk to 34
- [FR]: Allow localised date format HOT 1
- [Bug]: Using backspace in in search removes spaces in random places HOT 4
- App crashes on android emulator with Android Tiramisu api level 33 HOT 4
- [Bug]: Wrong text color in dark mode HOT 4
- [Bug]: ksp-gradlePlugin in libs.versions.toml HOT 2
- [FR]: Show Loading progress while Image is showing
- [Bug]:
- [Bug]: Running MacroBenchmark Throw NullPointerException on interestsScrollTopicsDownUp HOT 6
- [Bug]: `.run/Generate Demo Baseline Profile.run.xml` is no longer valid HOT 5
- [Bug]: Type Inferred Error HOT 4
- [Bug]: Empty home page on release 0.1.1 HOT 2
- [Bug] Tapping on a topic chip doesn't open the topic detail screen HOT 1
- [Bug]: Topic screen remains displayed instead of bookmarks screen HOT 4
- [Bug]: Move Fakes to a test module HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nowinandroid.