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

Fix health #1388

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/cronet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ env:
PUB_ENVIRONMENT: bot.github

jobs:
health:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
with:
use-flutter: true
sdk: stable
verify:
name: Format & Analyze & Test
runs-on: ubuntu-latest
Expand All @@ -29,9 +34,6 @@ jobs:
fail-fast: false
matrix:
cronetHttpNoPlay: ['false', 'true']
defaults:
run:
working-directory: pkgs/cronet_http
steps:
- name: Delete unnecessary tools 🔧
uses: jlumbroso/[email protected]
Expand Down Expand Up @@ -66,3 +68,7 @@ jobs:
arch: x86_64
target: ${{ matrix.cronetHttpNoPlay == 'true' && 'default' || 'google_apis' }}
script: cd pkgs/cronet_http/example && flutter test --dart-define=cronetHttpNoPlay=${{ matrix.cronetHttpNoPlay }} --timeout=1200s integration_test/

defaults:
run:
working-directory: pkgs/cronet_http
12 changes: 9 additions & 3 deletions .github/workflows/cupertino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ env:
PUB_ENVIRONMENT: bot.github

jobs:
health:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
with:
use-flutter: true
sdk: stable
verify:
name: Format & Analyze & Test
runs-on: macos-latest
defaults:
run:
working-directory: pkgs/cupertino_http
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -57,3 +59,7 @@ jobs:
cd example
flutter pub get
flutter test integration_test/main.dart --test-randomize-ordering-seed=random

defaults:
run:
working-directory: pkgs/cupertino_http
34 changes: 34 additions & 0 deletions .github/workflows/dart_health.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Dart Packages Health
on:
push:
branches:
- main
- master
paths:
- '.github/workflows/dart_health.yaml'
- 'pkgs/http/**'
- 'pkgs/http_client_conformance_tests/**'
- 'pkgs/http_parser/**'
- 'pkgs/http_profile/**'
- 'pkgs/http2/**'
- 'pkgs/web_socket/**'
- 'pkgs/web_socket_conformance_tests/**'
pull_request:
paths:
- '.github/workflows/dart_health.yaml'
- 'pkgs/http/**'
- 'pkgs/http_client_conformance_tests/**'
- 'pkgs/http_parser/**'
- 'pkgs/http_profile/**'
- 'pkgs/http2/**'
- 'pkgs/web_socket/**'
- 'pkgs/web_socket_conformance_tests/**'

jobs:
health:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
with:
sdk: stable
ignore_packages: 'pkgs/cronet_http,pkgs/cupertino_http,pkgs/flutter_http_example,pkgs/java_http,pkgs/ok_http'
permissions:
pull-requests: write
14 changes: 0 additions & 14 deletions .github/workflows/health.yaml

This file was deleted.

12 changes: 9 additions & 3 deletions .github/workflows/okhttp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ env:
PUB_ENVIRONMENT: bot.github

jobs:
health:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
with:
use-flutter: true
sdk: stable
verify:
name: Format & Analyze & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/ok_http
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
Expand Down Expand Up @@ -56,3 +58,7 @@ jobs:
api-level: 21
arch: x86_64
script: cd pkgs/ok_http/example && flutter test --timeout=1200s integration_test/

defaults:
run:
working-directory: pkgs/ok_http
Loading