File tree 3 files changed +74
-0
lines changed
3 files changed +74
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Python Dev
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ name : actions-310-dev
15
+ timeout-minutes : 60
16
+
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ with :
20
+ fetch-depth : 0
21
+
22
+ - name : Set up Python Dev Version
23
+ uses : actions/setup-python@v2
24
+ with :
25
+ python-version : ' 3.10-dev'
26
+
27
+ - name : Install dependencies
28
+ run : |
29
+ python -m pip install --upgrade pip setuptools wheel
30
+ pip install git+https://github.com/numpy/numpy.git
31
+ pip install git+https://github.com/pytest-dev/pytest.git
32
+ pip install git+https://github.com/nedbat/coveragepy.git
33
+ pip install cython python-dateutil pytz hypothesis pytest-xdist
34
+ pip list
35
+
36
+ - name : Build Pandas
37
+ run : |
38
+ python setup.py build_ext -q -j2
39
+ python -m pip install -e . --no-build-isolation --no-use-pep517
40
+
41
+ - name : Build Version
42
+ run : |
43
+ python -c "import pandas; pandas.show_versions();"
44
+
45
+ - name : Test with pytest
46
+ run : |
47
+ coverage run -m pytest -m 'not slow and not network and not clipboard' pandas
48
+ continue-on-error : true
49
+
50
+ - name : Publish test results
51
+ uses : actions/upload-artifact@master
52
+ with :
53
+ name : Test results
54
+ path : test-data.xml
55
+ if : failure()
56
+
57
+ - name : Print skipped tests
58
+ run : |
59
+ python ci/print_skipped.py
60
+
61
+ - name : Report Coverage
62
+ run : |
63
+ coverage report -m
64
+
65
+ - name : Upload coverage to Codecov
66
+ uses : codecov/codecov-action@v1
67
+ with :
68
+ flags : unittests
69
+ name : codecov-pandas
70
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 23
23
24
24
PY38 = sys .version_info >= (3 , 8 )
25
25
PY39 = sys .version_info >= (3 , 9 )
26
+ PY310 = sys .version_info >= (3 , 10 )
26
27
PYPY = platform .python_implementation () == "PyPy"
27
28
IS64 = sys .maxsize > 2 ** 32
28
29
Original file line number Diff line number Diff line change 12
12
from pandas .compat import (
13
13
IS64 ,
14
14
PY38 ,
15
+ PY310 ,
15
16
is_platform_windows ,
16
17
)
17
18
import pandas .util ._test_decorators as td
27
28
)
28
29
import pandas ._testing as tm
29
30
31
+ pytestmark = pytest .mark .skipif (PY310 , reason = "timeout with coverage" )
32
+
30
33
_seriesd = tm .getSeriesData ()
31
34
32
35
_frame = DataFrame (_seriesd )
You can’t perform that action at this time.
0 commit comments