@@ -31,13 +31,12 @@ jobs:
31
31
[actions-38-slow.yaml, "slow", "", "", "", "", ""],
32
32
[actions-38-locale.yaml, "not slow and not network", "language-pack-zh-hans xsel", "zh_CN.utf8", "zh_CN.utf8", "", ""],
33
33
[actions-39-slow.yaml, "slow", "", "", "", "", ""],
34
- [actions-pypy-38.yaml, "not slow and not clipboard", "", "", "", "", ""],
34
+ [actions-pypy-38.yaml, "not slow and not clipboard", "", "", "", "", "--max-worker-restart 0 "],
35
35
[actions-39-numpydev.yaml, "not slow and not network", "xsel", "", "", "deprecate", "-W error"],
36
36
[actions-39.yaml, "not slow and not clipboard", "", "", "", "", ""]
37
37
]
38
38
fail-fast : false
39
39
env :
40
- COVERAGE : true
41
40
ENV_FILE : ci/deps/${{ matrix.settings[0] }}
42
41
PATTERN : ${{ matrix.settings[1] }}
43
42
EXTRA_APT : ${{ matrix.settings[2] }}
46
45
PANDAS_TESTING_MODE : ${{ matrix.settings[5] }}
47
46
TEST_ARGS : ${{ matrix.settings[6] }}
48
47
PYTEST_TARGET : pandas
48
+ IS_PYPY : ${{ contains(matrix.settings[0], 'pypy') }}
49
+ # TODO: re-enable coverage on pypy, its slow
50
+ COVERAGE : ${{ !contains(matrix.settings[0], 'pypy') }}
49
51
concurrency :
50
52
# https://github.community/t/concurrecy-not-work-for-push/183068/7
51
53
group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.settings[0] }}
@@ -83,12 +85,29 @@ jobs:
83
85
channel-priority : flexible
84
86
environment-file : ${{ env.ENV_FILE }}
85
87
use-only-tar-bz2 : true
88
+ if : ${{ env.IS_PYPY == 'false' }} # No pypy3.8 support
89
+
90
+ - name : Setup PyPy
91
+
92
+ with :
93
+ python-version : " pypy-3.8"
94
+ if : ${{ env.IS_PYPY == 'true' }}
95
+
96
+ - name : Setup PyPy dependencies
97
+ shell : bash
98
+ run : |
99
+ # TODO: re-enable cov, its slowing the tests down though
100
+ # TODO: Unpin Cython, the new Cython 0.29.26 is causing compilation errors
101
+ pip install Cython==0.29.25 numpy python-dateutil pytz pytest>=6.0 pytest-xdist>=1.31.0 hypothesis>=5.5.3
102
+ if : ${{ env.IS_PYPY == 'true' }}
86
103
87
104
- name : Build Pandas
88
105
uses : ./.github/actions/build_pandas
89
106
90
107
- name : Test
91
108
run : ci/run_tests.sh
109
+ # TODO: Don't continue on error for PyPy
110
+ continue-on-error : ${{ env.IS_PYPY == 'true' }}
92
111
if : always()
93
112
94
113
- name : Build Version
0 commit comments