Skip to content

Commit 14acc86

Browse files
authored
Add test to web ci (#1435)
1 parent 2088be2 commit 14acc86

File tree

7 files changed

+18
-0
lines changed

7 files changed

+18
-0
lines changed

.github/workflows/geolocator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ on:
99
branches: [ main ]
1010
paths:
1111
- 'geolocator/**'
12+
- '.github/workflows/geolocator.yaml'
1213
pull_request:
1314
branches: [ main ]
1415
paths:
1516
- 'geolocator/**'
17+
- '.github/workflows/geolocator.yaml'
1618

1719
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1820
jobs:

.github/workflows/geolocator_android.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ on:
99
branches: [ main ]
1010
paths:
1111
- 'geolocator_android/**'
12+
- '.github/workflows/geolocator_android.yaml'
1213
pull_request:
1314
branches: [ main ]
1415
paths:
1516
- 'geolocator_android/**'
17+
- '.github/workflows/geolocator_android.yaml'
1618

1719
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1820
jobs:

.github/workflows/geolocator_apple.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ on:
99
branches: [ main ]
1010
paths:
1111
- 'geolocator_apple/**'
12+
- '.github/workflows/geolocator_apple.yaml'
1213
pull_request:
1314
branches: [ main ]
1415
paths:
1516
- 'geolocator_apple/**'
17+
- '.github/workflows/geolocator_apple.yaml'
1618

1719
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1820
jobs:

.github/workflows/geolocator_linux.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ on:
77
branches: [ main ]
88
paths:
99
- 'geolocator_linux/**'
10+
- '.github/workflows/geolocator_linux.yaml'
1011
pull_request:
1112
branches: [ main ]
1213
paths:
1314
- 'geolocator_linux/**'
15+
- '.github/workflows/geolocator_linux.yaml'
1416

1517
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1618
jobs:

.github/workflows/geolocator_platform_interface.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ on:
99
branches: [ main ]
1010
paths:
1111
- 'geolocator_platform_interface/**'
12+
- '.github/workflows/geolocator_platform_interface.yaml'
1213
pull_request:
1314
branches: [ main ]
1415
paths:
1516
- 'geolocator_platform_interface/**'
17+
- '.github/workflows/geolocator_platform_interface.yaml'
1618

1719
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1820
jobs:

.github/workflows/geolocator_web.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88
branches: [ main ]
99
paths:
1010
- 'geolocator_web/**'
11+
- '.github/workflows/geolocator_web.yaml'
1112
pull_request:
1213
branches: [ main ]
1314
paths:
1415
- 'geolocator_web/**'
16+
- '.github/workflows/geolocator_web.yaml'
1517

1618
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1719
jobs:
@@ -54,3 +56,7 @@ jobs:
5456
- name: Run Web build
5557
run: flutter build web --release
5658
working-directory: ${{env.example-directory}}
59+
60+
- name: Run Web Tests
61+
run: flutter test --platform chrome
62+
working-directory: ${{env.source-directory}}

.github/workflows/geolocator_windows.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ on:
99
branches: [ main ]
1010
paths:
1111
- 'geolocator_windows/**'
12+
- '.github/workflows/geolocator_windows.yaml'
1213
pull_request:
1314
branches: [ main ]
1415
paths:
1516
- 'geolocator_windows/**'
17+
- '.github/workflows/geolocator_windows.yaml'
1618

1719
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1820
jobs:

0 commit comments

Comments
 (0)