-
Notifications
You must be signed in to change notification settings - Fork 7
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
Create check_pr.yml #19
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index 9b8d0b4..1680952 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -42,4 +42,4 @@ jobs: # package:test for this step to succeed. Note that Flutter projects will # want to change this to 'flutter test'. - name: Run tests - run: dart test + run: flutter test diff --git a/test/adyen_checkout_test.dart b/test/adyen_checkout_test.dart index 45aea9b..a05267d 100644 --- a/test/adyen_checkout_test.dart +++ b/test/adyen_checkout_test.dart @@ -1,7 +1,6 @@ import 'package:adyen_checkout/platform_api.g.dart'; import 'package:adyen_checkout/src/adyen_checkout.dart'; import 'package:adyen_checkout/src/adyen_checkout_interface.dart'; -import 'package:flutter/cupertino.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:plugin_platform_interface/plugin_platform_interface.dart'; @@ -25,7 +24,7 @@ class MockAdyenCheckoutPlatform } void main() { - WidgetsFlutterBinding.ensureInitialized(); + TestWidgetsFlutterBinding.ensureInitialized(); final AdyenCheckout initialPlatform = AdyenCheckout(); test('$AdyenCheckout is the default instance', () {
Robert-SD
force-pushed
the
feature/add_github_action
branch
from
August 28, 2023 08:56
38f0714
to
b53bcfd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Added Github actions step