-
Notifications
You must be signed in to change notification settings - Fork 2
69 lines (62 loc) · 1.71 KB
/
test.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Tests
on:
push:
pull_request:
# Ensure that new pushes/updates cancel running jobs
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test-config-old:
name: Config only (old)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
id: config
uses: ./
with:
path: test/.fvmrc
- run: echo ${{ steps.config.outputs.FLUTTER_VERSION }}
- run: echo ${{ steps.config.outputs.FLUTTER_CHANNEL }}
- run: echo ${{ env.FLUTTER_VERSION }}
- run: echo ${{ env.FLUTTER_CHANNEL }}
test-setup-flutter-old:
name: Setup Flutter (old)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: ./
with:
path: test/.fvmrc
setup: true
- run: flutter --version
test-config:
name: Config only
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
id: config
uses: ./config
with:
path: test/.fvmrc
- run: echo ${{ steps.config.outputs.FLUTTER_VERSION }}
- run: echo ${{ steps.config.outputs.FLUTTER_CHANNEL }}
- run: echo ${{ env.FLUTTER_VERSION }}
- run: echo ${{ env.FLUTTER_CHANNEL }}
test-setup-flutter:
name: Setup Flutter
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: ./setup
with:
path: test/.fvmrc
- run: flutter --version