File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 9
9
branches : [ main ]
10
10
paths-ignore :
11
11
- ' **/_version.py'
12
+ workflow_dispatch :
13
+
12
14
13
15
jobs :
14
16
test :
35
37
run : |
36
38
make release
37
39
shell : bash
40
+ - name : Upload coverage reports
41
+ if : |
42
+ ${{
43
+ success()
44
+ && (
45
+ (github.event_name == 'pull_request' && github.base_ref == 'main')
46
+ || (github.event_name == 'push' && github.ref_name == 'main')
47
+ || github.event_name == 'workflow_dispatch'
48
+ )
49
+ && matrix.python-version == '3.11'
50
+ }}
51
+ uses : codecov/codecov-action@v5
52
+ with :
53
+ # https://github.com/codecov/codecov-action#arguments
54
+ token : ${{ secrets.CODECOV_TOKEN }}
55
+ env_vars : PYTHON_VERSION
56
+
Original file line number Diff line number Diff line change 1
1
# AIBS Informatics AWS Lambda
2
2
3
3
[ ![ Build Status] ( https://github.com/AllenInstitute/aibs-informatics-aws-lambda/actions/workflows/build.yml/badge.svg )] ( https://github.com/AllenInstitute/aibs-informatics-aws-lambda/actions/workflows/build.yml )
4
+ [ ![ codecov] ( https://codecov.io/gh/AllenInstitute/aibs-informatics-aws-lambda/graph/badge.svg?token=SEHNFMIX4G )] ( https://codecov.io/gh/AllenInstitute/aibs-informatics-aws-lambda )
4
5
5
6
---
6
7
Original file line number Diff line number Diff line change
1
+ codecov :
2
+ bot : aibsgithub
3
+
4
+ coverage :
5
+ range : 0..100
6
+ status :
7
+ project :
8
+ default :
9
+ target : auto # auto compares coverage to the previous base commit
10
+ informational : true
11
+ patch :
12
+ default :
13
+ informational : true
14
+
15
+ comment :
16
+ layout : " reach, diff, flags, files"
17
+ behavior : default
18
+ require_changes : false # if true: only post the comment if coverage changes
19
+ require_head : yes # [yes :: must have a head report to post]
20
+ require_base : no # default yes
21
+
22
+ github_checks :
23
+ # set to true in future perhaps?
24
+ annotations : false
25
+
26
+ flag_management :
27
+ default_rules : # the rules that will be followed for any flag added, generally
28
+ carryforward : true
29
+ statuses :
30
+ - type : project
31
+ target : auto
32
+ threshold : 1%
33
+ - type : patch
34
+ target : 90%
You can’t perform that action at this time.
0 commit comments