-
Notifications
You must be signed in to change notification settings - Fork 201
59 lines (47 loc) · 1.75 KB
/
flutter_markdown.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
# Run a smoke test against package:flutter_markdown.
name: flutter_markdown
on:
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions: read-all
jobs:
smoke-test:
runs-on: ubuntu-latest
steps:
- name: clone dart-lang/markdown
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
repository: dart-lang/markdown
path: markdown
- name: clone flutter/packages
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
repository: flutter/packages
path: flutter_packages
# Install the Flutter SDK using the subosito/flutter-action GitHub action.
- name: install the flutter sdk
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: 'beta'
- name: flutter --version
run: flutter --version
- name: create pubspec_overrides.yaml
working-directory: flutter_packages/packages/flutter_markdown
run: |
echo "dependency_overrides:" > pubspec_overrides.yaml
echo " markdown:" >> pubspec_overrides.yaml
echo " path: ../../../markdown" >> pubspec_overrides.yaml
- name: flutter pub get
working-directory: flutter_packages/packages/flutter_markdown
run: flutter pub get
- name: flutter analyze package:flutter_markdown
working-directory: flutter_packages/packages/flutter_markdown
run: flutter analyze
- name: flutter test package:flutter_markdown
working-directory: flutter_packages/packages/flutter_markdown
run: flutter test