-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Ci: start testing py310-dev #41113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Ci: start testing py310-dev #41113
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
6ff2ef8
CI: start testing py310-dev
fangchenli 9e2c522
CI: start testing py310-dev
fangchenli d528dde
Merge remote-tracking branch 'upstream/master' into ci-py310-dev
fangchenli 3b87af4
use pre-release numpy
fangchenli 43db620
try numpy master
fangchenli a954ac1
Merge remote-tracking branch 'upstream/master' into ci-py310-dev
fangchenli 06dc5e6
use pytest master
fangchenli a10c925
add pip list
fangchenli 52f8a06
add build version
fangchenli 81f23a0
try fetch tags
fangchenli aa76ca0
Merge remote-tracking branch 'upstream/master' into ci-py310-dev
fangchenli fe6f940
allow to fail
fangchenli 6882f78
allow to fail
fangchenli 61fe5d1
Merge remote-tracking branch 'upstream/master' into ci-py310-dev
fangchenli 0e5fe54
remove duplicated opt
fangchenli 5f2fdbf
rename, add coverage
fangchenli 0eb8747
Merge remote-tracking branch 'upstream/master' into ci-py310-dev
fangchenli fee4bfc
use single worker
fangchenli b59a3da
set timeout, remove cov
fangchenli 5696a8a
use single worker
fangchenli 4f9f76c
Merge remote-tracking branch 'upstream/master' into ci-py310-dev
fangchenli a8a6788
try coverage without pytest-cov
fangchenli 552f044
debug coverage
fangchenli 666d005
debug coverage
fangchenli 62602f8
try coverage master
fangchenli a490f72
debug coverage
fangchenli 90a381c
fix worker_id error
fangchenli 58a25f5
debug coverage
fangchenli 89bf022
debug coverage
fangchenli e4b2449
debug coverage
fangchenli 46a1c78
skip tests to avoid timeout
fangchenli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, this is the proper way to use checkout@v2 to get all tags