File tree Expand file tree Collapse file tree 4 files changed +39
-63
lines changed Expand file tree Collapse file tree 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 5353 uses : ./.github/actions/build_pandas
5454
5555 - 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:
157157 uses : ./.github/actions/build_pandas
158158
159159 - name : Test
160- run : ci/run_tests.sh
160+ uses : ./.github/actions/run-tests
161161 # TODO: Don't continue on error for PyPy
162162 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:
5757 - name : Install dependencies
5858 shell : bash -el {0}
5959 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
6565
6666 - name : Build Pandas
6767 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
7070
7171 - name : Build Version
7272 run : |
73- python -c "import pandas; pandas.show_versions();"
73+ python3 -c "import pandas; pandas.show_versions();"
7474
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