|
41 | 41 | environment-file: ${{ env.ENV_FILE }} |
42 | 42 | use-only-tar-bz2: true |
43 | 43 |
|
44 | | - - name: Environment Detail |
45 | | - run: | |
46 | | - conda info |
47 | | - conda list |
48 | | -
|
49 | 44 | - name: Build Pandas |
50 | | - run: | |
51 | | - python setup.py build_ext -j 2 |
52 | | - python -m pip install -e . --no-build-isolation --no-use-pep517 |
| 45 | + uses: ./.github/actions/build_pandas |
53 | 46 |
|
54 | 47 | - name: Linting |
55 | 48 | run: ci/code_checks.sh lint |
@@ -100,14 +93,11 @@ jobs: |
100 | 93 | runs-on: ubuntu-latest |
101 | 94 | steps: |
102 | 95 |
|
103 | | - - name: Setting conda path |
104 | | - run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH |
105 | | - |
106 | 96 | - name: Checkout |
107 | 97 | uses: actions/checkout@v1 |
108 | 98 |
|
109 | | - - name: Setup environment and build pandas |
110 | | - run: ci/setup_env.sh |
| 99 | + - name: Set up pandas |
| 100 | + uses: ./.github/actions/setup |
111 | 101 |
|
112 | 102 | - name: Build website |
113 | 103 | run: | |
@@ -139,21 +129,41 @@ jobs: |
139 | 129 | run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev |
140 | 130 | if: github.event_name == 'push' |
141 | 131 |
|
| 132 | + - name: Move docs into site directory |
| 133 | + run: mv doc/build/html web/build/docs |
| 134 | + - name: Save website as an artifact |
| 135 | + uses: actions/upload-artifact@v2 |
| 136 | + with: |
| 137 | + name: website |
| 138 | + path: web/build |
| 139 | + retention-days: 14 |
| 140 | + |
142 | 141 | data_manager: |
143 | 142 | name: Test experimental data manager |
144 | 143 | runs-on: ubuntu-latest |
145 | 144 | steps: |
146 | 145 |
|
147 | | - - name: Setting conda path |
148 | | - run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH |
149 | | - |
150 | 146 | - name: Checkout |
151 | 147 | uses: actions/checkout@v1 |
152 | 148 |
|
153 | | - - name: Setup environment and build pandas |
154 | | - run: ci/setup_env.sh |
| 149 | + - name: Set up pandas |
| 150 | + uses: ./.github/actions/setup |
155 | 151 |
|
156 | 152 | - name: Run tests |
157 | 153 | run: | |
158 | 154 | source activate pandas-dev |
159 | 155 | pytest pandas/tests/frame/methods --array-manager |
| 156 | + pytest pandas/tests/frame/test_reductions.py --array-manager |
| 157 | + pytest pandas/tests/reductions/ --array-manager |
| 158 | + pytest pandas/tests/generic/test_generic.py --array-manager |
| 159 | + pytest pandas/tests/arithmetic/ --array-manager |
| 160 | + pytest pandas/tests/groupby/aggregate/ --array-manager |
| 161 | + pytest pandas/tests/reshape/merge --array-manager |
| 162 | +
|
| 163 | + # indexing subset (temporary since other tests don't pass yet) |
| 164 | + pytest pandas/tests/frame/indexing/test_indexing.py::TestDataFrameIndexing::test_setitem_boolean --array-manager |
| 165 | + pytest pandas/tests/frame/indexing/test_where.py --array-manager |
| 166 | + pytest pandas/tests/frame/indexing/test_indexing.py::TestDataFrameIndexing::test_setitem_multi_index --array-manager |
| 167 | + pytest pandas/tests/frame/indexing/test_setitem.py::TestDataFrameSetItem::test_setitem_listlike_indexer_duplicate_columns --array-manager |
| 168 | + pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_astype_assignment_with_dups --array-manager |
| 169 | + pytest pandas/tests/indexing/multiindex/test_setitem.py::TestMultiIndexSetItem::test_frame_setitem_multi_column --array-manager |
0 commit comments