forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge upstream/master as required pandas-dev#41283 was merged
- Loading branch information
Showing
744 changed files
with
30,945 additions
and
16,792 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: Python Dev | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 1.3.x | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "doc/**" | ||
|
||
env: | ||
PYTEST_WORKERS: "auto" | ||
PANDAS_CI: 1 | ||
PATTERN: "not slow and not network and not clipboard" | ||
COVERAGE: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: actions-310-dev | ||
timeout-minutes: 60 | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-dev | ||
cancel-in-progress: true | ||
|
||
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 pytest-cov | ||
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: | | ||
ci/run_tests.sh | ||
# GH 41935 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: sdist | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
- 1.3.x | ||
paths-ignore: | ||
- "doc/**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
# GH 39416 | ||
pip install numpy | ||
- name: Build pandas sdist | ||
run: | | ||
pip list | ||
python setup.py sdist --formats=gztar | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
activate-environment: pandas-sdist | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install pandas from sdist | ||
run: | | ||
conda list | ||
python -m pip install dist/*.gz | ||
- name: Import pandas | ||
run: | | ||
cd .. | ||
conda list | ||
python -c "import pandas; pandas.show_versions();" |
Oops, something went wrong.