Skip to content

Commit

Permalink
Add test to web ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeusekom committed Jan 31, 2024
1 parent 2088be2 commit be5ecde
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/geolocator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
branches: [ main ]
paths:
- 'geolocator/**'
- '.github/workflows/geolocator.yaml'
pull_request:
branches: [ main ]
paths:
- 'geolocator/**'
- '.github/workflows/geolocator.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/geolocator_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
branches: [ main ]
paths:
- 'geolocator_android/**'
- '.github/workflows/geolocator_android.yaml'
pull_request:
branches: [ main ]
paths:
- 'geolocator_android/**'
- '.github/workflows/geolocator_android.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/geolocator_apple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
branches: [ main ]
paths:
- 'geolocator_apple/**'
- '.github/workflows/geolocator_apple.yaml'
pull_request:
branches: [ main ]
paths:
- 'geolocator_apple/**'
- '.github/workflows/geolocator_apple.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/geolocator_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
branches: [ main ]
paths:
- 'geolocator_linux/**'
- '.github/workflows/geolocator_linux.yaml'
pull_request:
branches: [ main ]
paths:
- 'geolocator_linux/**'
- '.github/workflows/geolocator_linux.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/geolocator_platform_interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
branches: [ main ]
paths:
- 'geolocator_platform_interface/**'
- '.github/workflows/geolocator_platform_interface.yaml'
pull_request:
branches: [ main ]
paths:
- 'geolocator_platform_interface/**'
- '.github/workflows/geolocator_platform_interface.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/geolocator_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:
branches: [ main ]
paths:
- 'geolocator_web/**'
- '.github/workflows/geolocator_web.yaml'
pull_request:
branches: [ main ]
paths:
- 'geolocator_web/**'
- '.github/workflows/geolocator_web.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -54,3 +56,7 @@ jobs:
- name: Run Web build
run: flutter build web --release
working-directory: ${{env.example-directory}}

- name: Run Web Tests
run: flutter test --platform chrome
working-directory: ${{env.source-directory}}
2 changes: 2 additions & 0 deletions .github/workflows/geolocator_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
branches: [ main ]
paths:
- 'geolocator_windows/**'
- '.github/workflows/geolocator_windows.yaml'
pull_request:
branches: [ main ]
paths:
- 'geolocator_windows/**'
- '.github/workflows/geolocator_windows.yaml'

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

0 comments on commit be5ecde

Please sign in to comment.