-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CI: add sdist release workflow #41685
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
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
57bf3f9
CI: sdist test #39417
fangchenli db9d8ad
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli 7fe76c8
fix typo
fangchenli 59516ac
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli c1e2904
fix test commend
fangchenli 3214f60
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli c621f0d
build pandas
fangchenli dce7af7
remove allowed failure
fangchenli 3f31fc1
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli 0825714
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli 458e389
update sdist build
fangchenli cbcbe04
update sdist ci
fangchenli 5f4425d
update sdist ci
fangchenli df733f7
update sdist ci
fangchenli e14374d
update sdist ci
fangchenli 390982d
remove dependency
fangchenli 6024ff5
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli 14a353c
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli a60c92b
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
fangchenli 6b47cab
fix step name
fangchenli c96eb45
Merge remote-tracking branch 'upstream/master' into ci-sdist-test
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,64 @@ | ||
name: sdist | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
- 1.2.x | ||
- 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.7", "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 | ||
pip install numpy | ||
fangchenli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- 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 install cython numpy | ||
fangchenli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
conda list | ||
python -m pip install dist/*.gz | ||
|
||
- name: Build Version | ||
fangchenli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
run: | | ||
cd .. | ||
conda install python-dateutil pytz | ||
conda list | ||
python -c "import pandas; pandas.show_versions();" |
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.
Uh oh!
There was an error while loading. Please reload this page.