Skip to content

Do not override root level configs with empty properties#271

Merged
runningcode merged 1 commit into
runningcode:masterfrom
kozaxinan:main
Sep 17, 2021
Merged

Do not override root level configs with empty properties#271
runningcode merged 1 commit into
runningcode:masterfrom
kozaxinan:main

Conversation

@kozaxinan

@kozaxinan kozaxinan commented Sep 15, 2021

Copy link
Copy Markdown
Contributor

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.

max-test-shards: 5
environment-variables:
"clearPackageData": "true"
"clearPackageData": "false"

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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