-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (35 loc) · 1.09 KB
/
pull-request.yml
File metadata and controls
37 lines (35 loc) · 1.09 KB
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
name: "Pull Request"
on:
pull_request:
branches:
- main
paths:
- "lib/**"
- "test/**"
- "assets/**"
jobs:
run-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: SpicyPizza/create-envfile@v2.0.3
with:
envkey_FIREBASE_WEB_API_KEY: ""
envkey_FIREBASE_WEB_APP_ID: ""
envkey_FIREBASE_WEB_MESSAGING_SENDER_ID: ""
envkey_FIREBASE_WEB_PROJECT_ID: ""
envkey_FIREBASE_WEB_AUTH_DOMAIN: ""
envkey_FIREBASE_WEB_STORAGE_BUCKET: ""
envkey_FIREBASE_WEB_MEASUREMENT_ID: ""
fail_on_empty: false
- uses: dart-lang/setup-dart@v1
with:
sdk: 3.7.2
- uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: 3.32.8
- name: Install dependencies
run: flutter pub get && dart run build_runner build --delete-conflicting-outputs && flutter gen-l10n && dart run routefly && dart run web3kit:generate_abis
- name: Run tests
run: flutter test --test-randomize-ordering-seed=random