File tree Expand file tree Collapse file tree 3 files changed +31
-9
lines changed Expand file tree Collapse file tree 3 files changed +31
-9
lines changed Original file line number Diff line number Diff line change 1
1
codecov :
2
- ci :
3
- # by default, codecov doesn't recognize azure as a CI provider
4
- - dev.azure.com
5
- require_ci_to_pass : yes
2
+ require_ci_to_pass : true
6
3
7
4
coverage :
8
5
status :
9
6
project :
10
7
default :
11
8
# Require 1% coverage, i.e., always succeed
12
- target : 1
9
+ target : 1%
10
+ flags :
11
+ - unittests
12
+ paths :
13
+ - " !xarray/tests/"
14
+ unittests :
15
+ target : 90%
16
+ flags :
17
+ - unittests
18
+ paths :
19
+ - " !xarray/tests/"
20
+ mypy :
21
+ target : 20%
22
+ flags :
23
+ - mypy
13
24
patch : false
14
25
changes : false
15
26
16
- comment : off
27
+ comment : false
28
+
29
+ flags :
30
+ unittests :
31
+ paths :
32
+ - " xarray"
33
+ - " !xarray/tests"
34
+ carryforward : false
35
+ mypy :
36
+ paths :
37
+ - " xarray"
38
+ carryforward : false
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ jobs:
123
123
124
124
- name : Run mypy
125
125
run : |
126
- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
126
+ python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report xarray/
127
127
128
128
- name : Upload mypy coverage to Codecov
129
129
@@ -177,7 +177,7 @@ jobs:
177
177
178
178
- name : Run mypy
179
179
run : |
180
- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
180
+ python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report xarray/
181
181
182
182
- name : Upload mypy coverage to Codecov
183
183
Original file line number Diff line number Diff line change 1
1
# xarray: N-D labeled arrays and datasets
2
2
3
3
[ ![ CI] ( https://github.com/pydata/xarray/workflows/CI/badge.svg?branch=main )] ( https://github.com/pydata/xarray/actions?query=workflow%3ACI )
4
- [ ![ Code coverage] ( https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg )] ( https://codecov.io/gh/pydata/xarray )
4
+ [ ![ Code coverage] ( https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg?flag=unittests )] ( https://codecov.io/gh/pydata/xarray )
5
5
[ ![ Docs] ( https://readthedocs.org/projects/xray/badge/?version=latest )] ( https://docs.xarray.dev/ )
6
6
[ ![ Benchmarked with asv] ( https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat )] ( https://pandas.pydata.org/speed/xarray/ )
7
7
[ ![ Available on pypi] ( https://img.shields.io/pypi/v/xarray.svg )] ( https://pypi.python.org/pypi/xarray/ )
You can’t perform that action at this time.
0 commit comments