mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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.
31 lines
707 B
YAML
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
|