Skip to content
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

Do not override root level configs with empty properties #271

Merged
merged 1 commit into from Sep 17, 2021

Conversation

kozaxinan
Copy link
Contributor

@kozaxinan kozaxinan commented Sep 15, 2021

Fixes #270

Documentation for using different environment variables per test apk
https://flank.github.io/flank/using_different_environment_variables_in_different_matrices/

Disclamer; I didnt build local snapshot version and I didnt try final result. But I will.

@@ -290,7 +300,7 @@ class FulladlePluginIntegrationTest {
test: [0-9a-zA-Z\/_]*/android-project2/build/outputs/apk/androidTest/debug/android-project2-debug-androidTest.apk
max-test-shards: 5
environment-variables:
"clearPackageData": "true"
"clearPackageData": "false"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A question. " usage in here looks wrong. Shouldnt be it just clearPagkageData: false

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are right. Maybe these integration tests aren't working properly since this other PR has written it the other way: https://github.com/runningcode/fladle/pull/266/files#diff-8c950a3cebeff2c0a82c58117c197724232bb55f3341881c5715c27701437e90R117

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the actual flank.yml file look like?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Integrations test are bit confusing. It might make sense to split cases and test case by case. I will try to find out actual flank.yml and check removing ""

@runningcode
Copy link
Owner

I think this fixes the same issue as #266 . I like this solution more since it doesn't involve setting the convention to null.
What do you think @asadsalman ?

@runningcode
Copy link
Owner

I'm going to merge this for now. The " quotes issue should be fixed separately.

@runningcode runningcode merged commit e2a3242 into runningcode:master Sep 17, 2021
@github-actions
Copy link

Buildscan url for run 1245611465

@kozaxinan kozaxinan deleted the main branch May 4, 2022 13:32
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.

environmentVariables are not passed to flank.yml
2 participants