29 lines
805 B
YAML
29 lines
805 B
YAML
# Copyright 2013 The Flutter Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
name: coverage
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'packages/flutter/**'
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
build:
|
|
name: coverage
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'flutter/flutter' }}
|
|
steps:
|
|
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
|
|
- name: ./bin/flutter test --coverage
|
|
run: pushd packages/flutter;../../bin/flutter test --coverage -j 1;popd
|
|
- name: upload coverage
|
|
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00
|
|
with:
|
|
files: packages/flutter/coverage/lcov.info
|
|
verbose: true
|