Skip to content

Commit

Permalink
Add job for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
quoc-huynh-cosee committed Sep 4, 2023
1 parent 3e5ee4c commit b459caf
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/native_image_cropper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ jobs:
- name: Format
run: dart format --set-exit-if-changed .

test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: native_image_cropper
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]

- name: Install Dependencies
run: flutter pub get
- name: Run tests
run: flutter test

pana:
defaults:
run:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/native_image_cropper_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ jobs:
- name: Format
run: dart format --set-exit-if-changed .

test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: native_image_cropper_android
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]

- name: Install Dependencies
run: flutter pub get
- name: Run tests
run: flutter test

pana:
defaults:
run:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/native_image_cropper_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ jobs:
- name: Format
run: dart format --set-exit-if-changed .

test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: native_image_cropper_ios
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]

- name: Install Dependencies
run: flutter pub get
- name: Run tests
run: flutter test

pana:
defaults:
run:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/native_image_cropper_macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ jobs:
- name: Format
run: dart format --set-exit-if-changed .

test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: native_image_cropper_macos
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]

- name: Install Dependencies
run: flutter pub get
- name: Run tests
run: flutter test

pana:
defaults:
run:
Expand Down

0 comments on commit b459caf

Please sign in to comment.