-
Notifications
You must be signed in to change notification settings - Fork 14
44 lines (33 loc) · 910 Bytes
/
dart-test.yml
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
name: nostr CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Install and set Flutter version
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Upgrade flutter
run: flutter pub upgrade
- name: Restore packages
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Run tests
run: flutter test --coverage
- name: Download codcov uploader
run: curl -Os https://uploader.codecov.io/latest/linux/codecov
shell: bash
- name: Set codecov uploader executable
run: chmod +x codecov
shell: bash
- name: Execute codecov uploader
run: ./codecov
shell: bash