-
-
Notifications
You must be signed in to change notification settings - Fork 21
45 lines (36 loc) · 881 Bytes
/
test.yml
File metadata and controls
45 lines (36 loc) · 881 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
39
40
41
42
43
44
45
name: Tests
on:
push:
branches: [main, develop, refactor/**]
paths-ignore:
- "docs/**"
- "**.md"
pull_request:
branches: [main, develop]
paths-ignore:
- "docs/**"
- "**.md"
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
test:
runs-on: windows-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
- name: Get dependencies
run: flutter pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project
run: flutter analyze
- name: Run tests
run: flutter test