From 59d823edad641ec8dcde9e2f15c36826af0d9ccf Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 11 Dec 2024 14:42:35 +0100 Subject: [PATCH] Moving fixes --- .github/labeler.yml | 4 ++++ .../workflows/test_reflective_loader.yaml | 22 ++++++++++++++----- README.md | 1 + .../.github/dependabot.yml | 15 ------------- pkgs/test_reflective_loader/CHANGELOG.md | 3 ++- pkgs/test_reflective_loader/README.md | 5 +++-- pkgs/test_reflective_loader/pubspec.yaml | 2 +- 7 files changed, 27 insertions(+), 25 deletions(-) rename pkgs/test_reflective_loader/.github/workflows/build.yaml => .github/workflows/test_reflective_loader.yaml (57%) delete mode 100644 pkgs/test_reflective_loader/.github/dependabot.yml diff --git a/.github/labeler.yml b/.github/labeler.yml index 1cc4b2058..16a5ce833 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -108,6 +108,10 @@ - changed-files: - any-glob-to-any-file: 'pkgs/sse/**' +'package:test_reflective_loader': + - changed-files: + - any-glob-to-any-file: 'pkgs/test_reflective_loader/**' + 'package:unified_analytics': - changed-files: - any-glob-to-any-file: 'pkgs/unified_analytics/**' diff --git a/pkgs/test_reflective_loader/.github/workflows/build.yaml b/.github/workflows/test_reflective_loader.yaml similarity index 57% rename from pkgs/test_reflective_loader/.github/workflows/build.yaml rename to .github/workflows/test_reflective_loader.yaml index 2c15d9546..975c97049 100644 --- a/pkgs/test_reflective_loader/.github/workflows/build.yaml +++ b/.github/workflows/test_reflective_loader.yaml @@ -1,17 +1,27 @@ -name: Dart +name: package:test_reflective_loader on: - pull_request: + # Run on PRs and pushes to the default branch. push: - branches: - - master + branches: [ main ] + paths: + - '.github/workflows/test_reflective_loader.yaml' + - 'pkgs/test_reflective_loader/**' + pull_request: + branches: [ main ] + paths: + - '.github/workflows/test_reflective_loader.yaml' + - 'pkgs/test_reflective_loader/**' schedule: - # “At 00:00 (UTC) on Sunday.” - - cron: '0 0 * * 0' + - cron: "0 0 * * 0" env: PUB_ENVIRONMENT: bot.github +defaults: + run: + working-directory: pkgs/test_reflective_loader/ + jobs: build: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 79d1dde21..74be5a926 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ don't naturally belong to other topic monorepos (like | [source_maps](pkgs/source_maps/) | A library to programmatically manipulate source map files. | [![package issues](https://img.shields.io/badge/package:source_maps-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_maps) | [![pub package](https://img.shields.io/pub/v/source_maps.svg)](https://pub.dev/packages/source_maps) | | [source_span](pkgs/source_span/) | Provides a standard representation for source code locations and spans. | [![package issues](https://img.shields.io/badge/package:source_span-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_span) | [![pub package](https://img.shields.io/pub/v/source_span.svg)](https://pub.dev/packages/source_span) | | [sse](pkgs/sse/) | Provides client and server functionality for setting up bi-directional communication through Server Sent Events (SSE) and corresponding POST requests. | [![package issues](https://img.shields.io/badge/package:sse-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asse) | [![pub package](https://img.shields.io/pub/v/sse.svg)](https://pub.dev/packages/sse) | +| [test_reflective_loader](pkgs/test_reflective_loader/) | Support for discovering tests and test suites using reflection. | [![package issues](https://img.shields.io/badge/package:test_reflective_loader-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Atest_reflective_loader) | [![pub package](https://img.shields.io/pub/v/test_reflective_loader.svg)](https://pub.dev/packages/test_reflective_loader) | | [unified_analytics](pkgs/unified_analytics/) | A package for logging analytics for all Dart and Flutter related tooling to Google Analytics. | [![package issues](https://img.shields.io/badge/package:unified_analytics-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aunified_analytics) | [![pub package](https://img.shields.io/pub/v/unified_analytics.svg)](https://pub.dev/packages/unified_analytics) | ## Publishing automation diff --git a/pkgs/test_reflective_loader/.github/dependabot.yml b/pkgs/test_reflective_loader/.github/dependabot.yml deleted file mode 100644 index cde02ad6a..000000000 --- a/pkgs/test_reflective_loader/.github/dependabot.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Dependabot configuration file. -# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates -version: 2 - -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: monthly - labels: - - autosubmit - groups: - github-actions: - patterns: - - "*" diff --git a/pkgs/test_reflective_loader/CHANGELOG.md b/pkgs/test_reflective_loader/CHANGELOG.md index 5fd4c553e..803eb0e0c 100644 --- a/pkgs/test_reflective_loader/CHANGELOG.md +++ b/pkgs/test_reflective_loader/CHANGELOG.md @@ -1,6 +1,7 @@ -## 0.2.3-wip +## 0.2.3 - Require Dart `^3.1.0`. +- Move to `dart-lang/tools` monorepo. ## 0.2.2 diff --git a/pkgs/test_reflective_loader/README.md b/pkgs/test_reflective_loader/README.md index f7d07dbe3..9b5a83d4e 100644 --- a/pkgs/test_reflective_loader/README.md +++ b/pkgs/test_reflective_loader/README.md @@ -1,5 +1,6 @@ -[![Build Status](https://github.com/dart-lang/test_reflective_loader/workflows/Dart/badge.svg)](https://github.com/dart-lang/test_reflective_loader/actions) +[![Build Status](https://github.com/dart-lang/tools/actions/workflows/test_reflective_loader.yaml/badge.svg)](https://github.com/dart-lang/tools/actions/workflows/test_reflective_loader.yaml) [![pub package](https://img.shields.io/pub/v/test_reflective_loader.svg)](https://pub.dev/packages/test_reflective_loader) +[![package publisher](https://img.shields.io/pub/publisher/test_reflective_loader.svg)](https://pub.dev/packages/test_reflective_loader/publisher) Support for discovering tests and test suites using reflection. @@ -24,4 +25,4 @@ executed after the returned `Future` completes. Please file feature requests and bugs at the [issue tracker][tracker]. -[tracker]: https://github.com/dart-lang/test_reflective_loader/issues +[tracker]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Atest_reflective_loader diff --git a/pkgs/test_reflective_loader/pubspec.yaml b/pkgs/test_reflective_loader/pubspec.yaml index dfb3cd06d..953ece944 100644 --- a/pkgs/test_reflective_loader/pubspec.yaml +++ b/pkgs/test_reflective_loader/pubspec.yaml @@ -1,5 +1,5 @@ name: test_reflective_loader -version: 0.2.3-wip +version: 0.2.3 description: Support for discovering tests and test suites using reflection. repository: https://github.com/dart-lang/tools/tree/main/pkgs/test_reflective_loader