-
Notifications
You must be signed in to change notification settings - Fork 47
40 lines (38 loc) · 1.15 KB
/
integration_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Integration Test
on:
pull_request:
push:
branches:
- master
jobs:
integration_test:
runs-on: [self-hosted, linux]
if: ${{ github.repository_owner == 'flutter-tizen' }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: subosito/flutter-action@v1
with:
channel: stable
- name: Install flutter-tizen
uses: actions/checkout@v2
with:
repository: flutter-tizen/flutter-tizen
path: flutter-tizen
- name: Run tests for changed packages
if: ${{ github.event_name == 'pull_request' }}
run: |
export PATH=`pwd`/flutter-tizen/bin:$PATH
./tools/tools_runner.sh test \
--recipe ./.github/recipe.yaml \
--generate-emulators \
--run-on-changed-packages \
--base-sha=$(git rev-parse HEAD^)
- name: Run tests for all packages
if: ${{ github.event_name == 'push' }}
run: |
export PATH=`pwd`/flutter-tizen/bin:$PATH
./tools/tools_runner.sh test \
--recipe ./.github/recipe.yaml \
--generate-emulators