Skip to content

Conversation

devoncarew
Copy link
Collaborator

  • add support for github actions

I'm not sure what'll break here; I'll create this as a draft PR for now.

@devoncarew
Copy link
Collaborator Author

@polina-c (or @jamesderlin) - can you see if you can enable github actions to run for this PR? I'd like to see what breaks.

@devoncarew devoncarew marked this pull request as ready for review May 6, 2022 15:11
@dnfield
Copy link
Contributor

dnfield commented May 24, 2022

visibility_detector should be in decent shape after my PR.

I'd suggest adding actions for each repo specifically though - that way the UI will be clearer about which package fails, if any do.

@devoncarew
Copy link
Collaborator Author

I'd suggest adding actions for each repo specifically though - that way the UI will be clearer about which package fails, if any do.

Yeah, this PR is just hooking back up the old travis script.

Using a matrix build however - one per package - would give us better package visibility.

- uses: actions/checkout@v3
- uses: subosito/[email protected]
with:
channel: 'stable'
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this mean that it's going to test against Flutter's stable channel?

I think the Git repository should be testing against the master channel since Google internally consumes these packages via Git + copybara and tries to stay current with Flutter's master branch.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If we do get this PR landed, we can revisit it to run against master and stable - a matrix of jobs for [packages] x [stable, master].

Copy link
Contributor

Choose a reason for hiding this comment

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

visibility_detector will not pass on stable after #367 - it's intentionally using new API that was created for the refactor.

@jamesderlin
Copy link
Contributor

@polina-c (or @jamesderlin) - can you see if you can enable github actions to run for this PR? I'd like to see what breaks.

I'm not sure how to do that.

@devoncarew
Copy link
Collaborator Author

It looks like the admins are: @chingjun, @jiahaog, @mehmetf, @xster and @zhenqiu1101.

@jamesderlin
Copy link
Contributor

I apparently have merge access and am willing to merge it and to see what happens, but I'd much prefer that it test against master than stable, at least for now.

switch testing to test against the `master` flutter channel
@devoncarew
Copy link
Collaborator Author

I apparently have merge access and am willing to merge it and to see what happens, but I'd much prefer that it test against master than stable, at least for now.

sgtm! Updated to test against master

@jamesderlin jamesderlin merged commit 35a5f6c into google:master May 24, 2022
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm, maybe this should have been v2.4.0?

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.

3 participants