-
-
Notifications
You must be signed in to change notification settings - Fork 642
33 lines (30 loc) · 799 Bytes
/
Copy pathcodcoverage.yml
File metadata and controls
33 lines (30 loc) · 799 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
name: Codecoverage
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Install dependencies
run: make dep
- name: Run coverage (dart)
run: make ci_coverage_client
- name: Upload coverage (dart)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: graphql
- name: Run coverage (flutter)
run: make ci_coverage_flutter
- name: Upload coverage (flutter)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: graphql_flutter