-
Notifications
You must be signed in to change notification settings - Fork 17
38 lines (29 loc) · 796 Bytes
/
pr.yml
File metadata and controls
38 lines (29 loc) · 796 Bytes
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
name: Execute Tests on PR
on:
push:
pull_request:
branches: [main]
jobs:
runUnitTest:
name: Execute Unit/Widget tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: '3.32.5'
cache: true
- name: Install Melos
run: dart pub global activate melos
# - name: Lint
# run: melos exec -- "dart format --output=none --set-exit-if-changed ."
- name: Pub Upgrade
run: melos bootstrap
# - name: Run Unit Tests / Widget Tests
# run: melos exec -- "flutter test"
- name: Run Auth Tests
run: |
cd modules/auth
flutter test