Skip to content
Merged
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .github/workflows/sdist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
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

- 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: Build Version
run: |
cd ..
conda list
python -c "import pandas; pandas.show_versions();"