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

[Android] Introduces API 34 emulators for subset of tests #4820

Closed
wants to merge 59 commits into from

Conversation

camsim99
Copy link
Contributor

@camsim99 camsim99 commented Aug 30, 2023

Introduces API 34 emulators for subset of tests not causing test failures in #4804. Also changes linux_android version to 34v1.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

camsim99 added 30 commits May 1, 2023 16:46
.ci.yaml Show resolved Hide resolved
args: ["build-examples", "--apk"]
- name: lint
script: script/tool_runner.sh
args: ["lint-android"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Since these tasks aren't being passed either of the include/exclude flags, they will all run twice: once on the 34 shards and once on the 33 shards, even though there's no difference.

We should either pass the flags to everything, to keep all the tasks for a given plugin together, and running only in one place, or we should remove these two tasks from the 33 version, so all builds and lints run on the 34 shards.

I would vote for the former, for consistency, but either should work.

@@ -461,7 +499,7 @@ targets:
package_sharding: "--shardIndex 5 --shardCount 6"
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "33"}
{"dependency": "android_virtual_device", "version": "34"}
]

Copy link
Contributor

Choose a reason for hiding this comment

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

You'll need to add matching stable shards, or we'll lose coverage on stable since they are running the same scripts. That can be done in the same prequel PR.

auto-submit bot pushed a commit that referenced this pull request Sep 26, 2023
Adds new tasks to create shards to run a subset of Android platform tests on API 33 AVD tests when the update to run tests on AVDs with API 34 lands due to test failures on a subset of plugins. Prequel PR to #4820.
@camsim99 camsim99 marked this pull request as draft September 28, 2023 19:51
@camsim99
Copy link
Contributor Author

camsim99 commented Oct 9, 2023

This PR is quickly becoming outdated and I have been doing some experimental changes to fix the path provider flake (such as https://ci.chromium.org/ui/p/flutter/builders/try/Linux_android%20android_platform_tests_shard_4%20master/2375/overview). Will fix path provider (#5098) and then open a PR for landing this change.

@camsim99 camsim99 closed this Oct 9, 2023
auto-submit bot pushed a commit that referenced this pull request Oct 24, 2023
Introduces API 34 emulators for subset of tests not causing test failures in #4804. Also changes linux_android version to 34v1.

Continuation of #4820.
HugoOlthof pushed a commit to moneybird/packages that referenced this pull request Dec 13, 2023
Adds new tasks to create shards to run a subset of Android platform tests on API 33 AVD tests when the update to run tests on AVDs with API 34 lands due to test failures on a subset of plugins. Prequel PR to flutter#4820.
HugoOlthof pushed a commit to moneybird/packages that referenced this pull request Dec 13, 2023
Introduces API 34 emulators for subset of tests not causing test failures in flutter#4804. Also changes linux_android version to 34v1.

Continuation of flutter#4820.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants