From aa0eb2e997f54ee9aa76b9b0e1aeec43151980fd Mon Sep 17 00:00:00 2001 From: Moritz Date: Thu, 17 Oct 2024 16:20:03 +0200 Subject: [PATCH] Moving fixes --- .../workflows/mockito.yaml | 15 +++++++++++---- README.md | 1 + pkgs/mockito/.github/dependabot.yml | 15 --------------- pkgs/mockito/CHANGELOG.md | 3 ++- pkgs/mockito/pubspec.yaml | 2 +- 5 files changed, 15 insertions(+), 21 deletions(-) rename pkgs/mockito/.github/workflows/test-package.yml => .github/workflows/mockito.yaml (89%) delete mode 100644 pkgs/mockito/.github/dependabot.yml diff --git a/pkgs/mockito/.github/workflows/test-package.yml b/.github/workflows/mockito.yaml similarity index 89% rename from pkgs/mockito/.github/workflows/test-package.yml rename to .github/workflows/mockito.yaml index 614f9f7f2..96af89043 100644 --- a/pkgs/mockito/.github/workflows/test-package.yml +++ b/.github/workflows/mockito.yaml @@ -1,11 +1,18 @@ -name: Dart CI +name: package:mockito on: - # Run on PRs and pushes to the default branch. + # Run on PRs and pushes to the default branch, in either the ffigen directory, + # or the objective_c directory. push: - branches: [ master ] + branches: [master] + paths: + - '.github/workflows/mockito.yaml' + - 'pkgs/mockito/**' pull_request: - branches: [ master ] + branches: [master] + paths: + - '.github/workflows/mockito.yaml' + - 'pkgs/mockito/**' schedule: - cron: "0 0 * * 0" diff --git a/README.md b/README.md index 7091bd97c..d0fa86829 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ literate API. | Package | Description | Version | |---|---|---| | [checks](pkgs/checks/) | A framework for checking values against expectations and building custom expectations. | [![pub package](https://img.shields.io/pub/v/checks.svg)](https://pub.dev/packages/checks) | +| [mockito](pkgs/mockito/) | A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing. | [![pub package](https://img.shields.io/pub/v/mockito.svg)](https://pub.dev/packages/mockito) | | [test](pkgs/test/) | A full featured library for writing and running Dart tests across platforms. | [![pub package](https://img.shields.io/pub/v/test.svg)](https://pub.dev/packages/test) | | [test_api](pkgs/test_api/) | | [![pub package](https://img.shields.io/pub/v/test_api.svg)](https://pub.dev/packages/test_api) | | [test_core](pkgs/test_core/) | | [![pub package](https://img.shields.io/pub/v/test_core.svg)](https://pub.dev/packages/test_core) | diff --git a/pkgs/mockito/.github/dependabot.yml b/pkgs/mockito/.github/dependabot.yml deleted file mode 100644 index 7c3a9d907..000000000 --- a/pkgs/mockito/.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/mockito/CHANGELOG.md b/pkgs/mockito/CHANGELOG.md index 51c8ada35..af57eb110 100644 --- a/pkgs/mockito/CHANGELOG.md +++ b/pkgs/mockito/CHANGELOG.md @@ -1,4 +1,4 @@ -## 5.4.5-wip +## 5.4.5 * Ignore "must_be_immutable" warning in generated files. Mocks cannot be made immutable anyway, but this way users aren't prevented from using generated @@ -9,6 +9,7 @@ * Require dart_style >= 2.3.7, so that the current Dart language version can be passed to `DartFormatter`. * Add topics to `pubspec.yaml`. +* Move to `dart-lang/test` monorepo. ## 5.4.4 diff --git a/pkgs/mockito/pubspec.yaml b/pkgs/mockito/pubspec.yaml index a18d912d4..af0ca89c1 100644 --- a/pkgs/mockito/pubspec.yaml +++ b/pkgs/mockito/pubspec.yaml @@ -1,5 +1,5 @@ name: mockito -version: 5.4.5-wip +version: 5.4.5 description: >- A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.