|
28 | 28 | pattern: ["not single_cpu", "single_cpu"] |
29 | 29 | # Don't test pyarrow v2/3: Causes timeouts in read_csv engine |
30 | 30 | # even if tests are skipped/xfailed |
31 | | - pyarrow_version: ["5", "7"] |
| 31 | + pyarrow_version: ["5", "6", "7"] |
32 | 32 | include: |
33 | 33 | - name: "Downstream Compat" |
34 | 34 | env_file: actions-38-downstream_compat.yaml |
|
61 | 61 | env_file: actions-310-numpydev.yaml |
62 | 62 | pattern: "not slow and not network and not single_cpu" |
63 | 63 | pandas_testing_mode: "deprecate" |
64 | | - test_args: "-W error" |
| 64 | + test_args: "-W error::DeprecationWarning:numpy" |
| 65 | + exclude: |
| 66 | + - env_file: actions-39.yaml |
| 67 | + pyarrow_version: "6" |
| 68 | + - env_file: actions-39.yaml |
| 69 | + pyarrow_version: "7" |
| 70 | + - env_file: actions-310.yaml |
| 71 | + pyarrow_version: "6" |
| 72 | + - env_file: actions-310.yaml |
| 73 | + pyarrow_version: "7" |
65 | 74 | fail-fast: false |
66 | 75 | name: ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }} |
67 | 76 | env: |
@@ -146,35 +155,21 @@ jobs: |
146 | 155 | channel-priority: flexible |
147 | 156 | environment-file: ${{ env.ENV_FILE }} |
148 | 157 | use-only-tar-bz2: true |
149 | | - if: ${{ env.IS_PYPY == 'false' }} # No pypy3.8 support |
150 | 158 |
|
151 | 159 | - name: Upgrade Arrow version |
152 | 160 | run: conda install -n pandas-dev -c conda-forge --no-update-deps pyarrow=${{ matrix.pyarrow_version }} |
153 | 161 | if: ${{ matrix.pyarrow_version }} |
154 | 162 |
|
155 | | - - name: Setup PyPy |
156 | | - uses: actions/setup-python@v3 |
157 | | - with: |
158 | | - python-version: "pypy-3.8" |
159 | | - if: ${{ env.IS_PYPY == 'true' }} |
160 | | - |
161 | | - - name: Setup PyPy dependencies |
162 | | - run: | |
163 | | - # TODO: re-enable cov, its slowing the tests down though |
164 | | - pip install Cython numpy python-dateutil pytz pytest>=6.0 pytest-xdist>=1.31.0 pytest-asyncio>=0.17 hypothesis>=5.5.3 |
165 | | - if: ${{ env.IS_PYPY == 'true' }} |
166 | | - |
167 | 163 | - name: Build Pandas |
168 | 164 | uses: ./.github/actions/build_pandas |
169 | 165 |
|
170 | 166 | - name: Test |
171 | 167 | run: ci/run_tests.sh |
172 | 168 | # TODO: Don't continue on error for PyPy |
173 | 169 | continue-on-error: ${{ env.IS_PYPY == 'true' }} |
174 | | - if: always() |
175 | 170 |
|
176 | 171 | - name: Build Version |
177 | | - run: pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd |
| 172 | + run: conda list |
178 | 173 |
|
179 | 174 | - name: Publish test results |
180 | 175 | uses: actions/upload-artifact@v3 |
|
0 commit comments