flutter_flutter/.github/workflows/tool-test-general.yml
John "codefu" McDole bcae39bdf8
chore: move experimental setup steps to composite action (#170496)
tool-test-general.yml had a lot of gnarly, but sharable code. Moving to
a shared, composite workflow.

updates:
- removed the "flutter/" working folder while running; keep the code in
the workspace
- moved android and pub-cache to /opt/
- switched to `flutter pub get` as the last step
- caching still works; but I think we could do better.
2025-06-12 23:35:57 +00:00

31 lines
707 B
YAML

name: Tool tests general - experiment
on:
pull_request:
branches: [master]
paths:
- '.github/workflows/tool-test-general.yml'
- 'dev/**'
- 'packages/flutter_tools/**'
- 'bin/**'
- '.ci.yaml'
- 'engine/**'
- 'DEPS'
push:
branches: [master]
jobs:
Linux_tool-tests-general:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
# Note: we must check out the tree for the composite action to be available
- uses: actions/checkout@v4
- uses: ./.github/actions/composite-flutter-setup
- name: Tool Test
run: |
SHARD=tool_tests SUBSHARD=general dart --enable-asserts dev/bots/test.dart