File tree 2 files changed +24
-3
lines changed
2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 65
65
env_vars : RUNNER_OS,PYTHON_VERSION
66
66
name : codecov-umbrella
67
67
fail_ci_if_error : false
68
+
69
+ doctest :
70
+ runs-on : ubuntu-latest
71
+ strategy :
72
+ fail-fast : false
73
+ matrix :
74
+ python-version : ["3.11"]
75
+
76
+ steps :
77
+ - uses : actions/checkout@v4
78
+ - name : Set up Python ${{ matrix.python-version }}
79
+ uses : actions/setup-python@v5
80
+ with :
81
+ python-version : ${{ matrix.python-version }}
82
+ - name : Install dependencies
83
+ run : |
84
+ python -m pip install --upgrade pip
85
+ python -m pip install pytest -e .
86
+ - name : Test with pytest
87
+ run : |
88
+ python -m pytest --doctest-modules mplotutils --ignore mplotutils/tests
Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ def cyclic_dataarray(obj, coord="lon"):
103
103
... )
104
104
>>> data_cyclic = cyclic_dataarray(data, 'y')
105
105
>>> data_cyclic
106
- <xarray.DataArray (x: 2, y: 4)>
106
+ <xarray.DataArray (x: 2, y: 4)> Size: 64B
107
107
array([[1, 2, 3, 1],
108
108
[4, 5, 6, 4]])
109
109
Coordinates:
110
- * x (x) int64 1 2
111
- * y (y) int64 0 1 2 3
110
+ * x (x) int64 16B 1 2
111
+ * y (y) int64 32B 0 1 2 3
112
112
113
113
"""
114
114
You can’t perform that action at this time.
0 commit comments