forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (58 loc) · 1.64 KB
/
python-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Python Dev
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: actions-310-dev
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python Dev Version
uses: actions/setup-python@v2
with:
python-version: '3.10-dev'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install git+https://github.com/numpy/numpy.git
pip install git+https://github.com/pytest-dev/pytest.git
pip install git+https://github.com/nedbat/coveragepy.git
pip install cython python-dateutil pytz hypothesis pytest-xdist
pip list
- name: Build Pandas
run: |
python setup.py build_ext -q -j2
python -m pip install -e . --no-build-isolation --no-use-pep517
- name: Build Version
run: |
python -c "import pandas; pandas.show_versions();"
- name: Test with pytest
run: |
coverage run -m pytest -m 'not slow and not network and not clipboard' pandas
continue-on-error: true
- name: Publish test results
uses: actions/upload-artifact@master
with:
name: Test results
path: test-data.xml
if: failure()
- name: Print skipped tests
run: |
python ci/print_skipped.py
- name: Report Coverage
run: |
coverage report -m
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
flags: unittests
name: codecov-pandas
fail_ci_if_error: true