-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (36 loc) · 984 Bytes
/
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
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:
name: Config only
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:
name: Setup Flutter
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