forked from pandas-dev/pandas
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ci: start testing py310-dev (pandas-dev#41113)
- Loading branch information
1 parent
ce50e99
commit 5c5c395
Showing
3 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters