File tree 4 files changed +39
-63
lines changed
4 files changed +39
-63
lines changed Original file line number Diff line number Diff line change
1
+ name : Run tests and report results
2
+ runs :
3
+ using : composite
4
+ steps :
5
+ - name : Test
6
+ run : ci/run_tests.sh
7
+ shell : bash -el {0}
8
+
9
+ - name : Publish test results
10
+ uses : actions/upload-artifact@v2
11
+ with :
12
+ name : Test results
13
+ path : test-data.xml
14
+ if : failure()
15
+
16
+ - name : Report Coverage
17
+ run : coverage report -m
18
+ shell : bash -el {0}
19
+ if : failure()
20
+
21
+ - name : Upload coverage to Codecov
22
+ uses : codecov/codecov-action@v2
23
+ with :
24
+ flags : unittests
25
+ name : codecov-pandas
26
+ fail_ci_if_error : false
27
+ if : failure()
Original file line number Diff line number Diff line change 53
53
uses : ./.github/actions/build_pandas
54
54
55
55
- name : Test
56
- run : ci/run_tests.sh
57
-
58
- - name : Publish test results
59
- uses : actions/upload-artifact@v3
60
- with :
61
- name : Test results
62
- path : test-data.xml
63
- if : failure()
64
-
65
- - name : Upload coverage to Codecov
66
- uses : codecov/codecov-action@v2
67
- with :
68
- flags : unittests
69
- name : codecov-pandas
70
- fail_ci_if_error : false
56
+ uses : ./.github/actions/run-tests
Original file line number Diff line number Diff line change @@ -157,23 +157,6 @@ jobs:
157
157
uses : ./.github/actions/build_pandas
158
158
159
159
- name : Test
160
- run : ci/run_tests.sh
160
+ uses : ./.github/actions/run-tests
161
161
# TODO: Don't continue on error for PyPy
162
162
continue-on-error : ${{ env.IS_PYPY == 'true' }}
163
-
164
- - name : Build Version
165
- run : conda list
166
-
167
- - name : Publish test results
168
- uses : actions/upload-artifact@v3
169
- with :
170
- name : Test results
171
- path : test-data.xml
172
- if : failure()
173
-
174
- - name : Upload coverage to Codecov
175
- uses : codecov/codecov-action@v2
176
- with :
177
- flags : unittests
178
- name : codecov-pandas
179
- fail_ci_if_error : false
Original file line number Diff line number Diff line change @@ -57,40 +57,20 @@ jobs:
57
57
- name : Install dependencies
58
58
shell : bash -el {0}
59
59
run : |
60
- python -m pip install --upgrade pip setuptools wheel
61
- pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
62
- pip install git+https://github.com/nedbat/coveragepy.git
63
- pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov
64
- pip list
60
+ python3 -m pip install --upgrade pip setuptools wheel
61
+ python3 -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
62
+ python3 -m pip install git+https://github.com/nedbat/coveragepy.git
63
+ python3 -m pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17
64
+ python3 -m pip list
65
65
66
66
- name : Build Pandas
67
67
run : |
68
- python setup.py build_ext -q -j2
69
- python -m pip install -e . --no-build-isolation --no-use-pep517
68
+ python3 setup.py build_ext -q -j2
69
+ python3 -m pip install -e . --no-build-isolation --no-use-pep517
70
70
71
71
- name : Build Version
72
72
run : |
73
- python -c "import pandas; pandas.show_versions();"
73
+ python3 -c "import pandas; pandas.show_versions();"
74
74
75
- - name : Test with pytest
76
- shell : bash -el {0}
77
- run : |
78
- ci/run_tests.sh
79
-
80
- - name : Publish test results
81
- uses : actions/upload-artifact@v3
82
- with :
83
- name : Test results
84
- path : test-data.xml
85
- if : failure()
86
-
87
- - name : Report Coverage
88
- run : |
89
- coverage report -m
90
-
91
- - name : Upload coverage to Codecov
92
- uses : codecov/codecov-action@v2
93
- with :
94
- flags : unittests
95
- name : codecov-pandas
96
- fail_ci_if_error : true
75
+ - name : Test
76
+ uses : ./.github/actions/run-tests
You can’t perform that action at this time.
0 commit comments