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

Remove dependency on non-test packages in pubspec.yaml #100

Open
mmcc007 opened this issue Mar 30, 2020 · 2 comments
Open

Remove dependency on non-test packages in pubspec.yaml #100

mmcc007 opened this issue Mar 30, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@mmcc007
Copy link
Owner

mmcc007 commented Mar 30, 2020

  • Integration tests are dart programs with no app dependencies.
  • The debug app is already installed on the device by the time the test is invoked on Device Farm
  • But flutter pub get requires the app dependencies

Removing the app dependencies on the fly removes unneeded dependencies on local and private repositories on Device Farm.

This fixes problems described in #99

@tim-fdc
Copy link

tim-fdc commented Apr 21, 2020

Hi @mmcc007 ,
thanks for this issue. We now switch to local dependencies and then build the app. Works quite nice :) We wrote a little dart script switching to local. Maybe we can share the code?!
Happy Hakking
Tim

@mmcc007
Copy link
Owner Author

mmcc007 commented Apr 22, 2020

Hey @tim-fdc ,
Sure, maybe we can use it as a starting point to resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants