-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CI: Move sql builds from Travis to Github actions #38344
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
jreback
merged 69 commits into
pandas-dev:master
from
fangchenli:move-travis-to-actions
Dec 27, 2020
Merged
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
644f80e
CLN: use with instead of try finally in io/stata.py
bed5d8c
Merge remote-tracking branch 'upstream/master' into use-with-stata
fdf8797
CI: move py38-slow to actions
9d84dc4
CI: move py38-slow to actions
7a0972c
CI: fix typo, add password
0804e03
CI: troubleshoot actions
a76a067
CI: troubleshoot actions
905d826
CI: troubleshoot actions
d2c1efd
CI: troubleshoot actions
311409b
CI: troubleshoot actions
7b02a7e
CI: troubleshoot actions
f9c0a1a
CI: troubleshoot actions
6910132
CI: troubleshoot actions
736c4a1
CI: build pandas
2330a33
CI: print skipped tests
365b953
Merge remote-tracking branch 'upstream/master' into move-travis-to-ac…
410bf98
CI: change branche
9bf82cd
CI: debug
3bf8e9f
Merge remote-tracking branch 'upstream/master' into move-travis-to-ac…
1c83fde
CL: debut sql tests
00bf2f0
Merge remote-tracking branch 'upstream/master' into move-travis-to-ac…
0ace2e1
CI: try 37 locale
676c136
CI: try 37 locale
2bc0950
CI: try 37 locale
510d2bb
CI: try 37 locale
b1d6023
CI: try 37 locale
5b752f5
CI: try 37 locale
eb89799
Merge remote-tracking branch 'upstream/master' into move-travis-to-ac…
6114a56
try to fix postgres
c6c628d
try to fix postgres
bd797a8
try to fix postgres
4bef8e0
Merge remote-tracking branch 'upstream/master' into move-travis-to-ac…
cccffe1
postgres
2a5164b
remove default channel
86c627c
unpin xlrd to resolve conflicts
fe54d15
resolve conflicts
9d4db55
resolve conflicts
73b671a
resolve conflicts
75c7344
add mysql
496384b
add cov
93c88fa
add cov
0ba4b83
add cov
693dbc0
fix typo
af93e67
fix typo
136345d
cleanup
cc22b75
cleanup
b653f9b
cleanup
0c0791e
cleanup
ea685fd
cleanup
8c1ae7e
pin dep version
9c7e91b
pin dep version
a134412
try min blosc version
ac99f28
try min blosc version
0779f25
try min blosc version
6156f36
install libmagic
3b76c7c
install libmagic
42cedd4
install xvfb
8276c1f
install xvfb
d293e1d
try to find min pymysql version
ca54750
try checkout v1
9cbbef7
Merge remote-tracking branch 'upstream/master' into move-travis-to-ac…
6e5e17f
try 2 workers arm64 build
54e75d4
change worker back to 1, sync min version
9da83f4
fix database name
4d6f10c
Merge remote-tracking branch 'upstream/master' into move-travis-to-ac…
fangchenli 2dacb36
bump fastparquet version
fangchenli 338e1fc
add whatsnew note
fangchenli 9cc6517
add whatsnew note
fangchenli 7d28232
fix typo
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,180 @@ | ||
name: Database | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: | ||
- master | ||
- 1.2.x | ||
|
||
env: | ||
PYTEST_WORKERS: "auto" | ||
PANDAS_CI: 1 | ||
PATTERN: ((not slow and not network and not clipboard) or (single and db)) | ||
|
||
jobs: | ||
Linux_py37_locale: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
env: | ||
ENV_FILE: ci/deps/actions-37-locale.yaml | ||
LOCALE_OVERRIDE: zh_CN.UTF-8 | ||
|
||
services: | ||
mysql: | ||
image: mysql | ||
env: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: yes | ||
MYSQL_DATABASE: pandas | ||
options: >- | ||
--health-cmd "mysqladmin ping" | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 3306:3306 | ||
|
||
postgres: | ||
image: postgres | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: pandas | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 5432:5432 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Cache conda | ||
uses: actions/cache@v1 | ||
env: | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ~/conda_pkgs_dir | ||
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ | ||
hashFiles('${{ env.ENV_FILE }}') }} | ||
|
||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
activate-environment: pandas-dev | ||
channel-priority: strict | ||
environment-file: ${{ env.ENV_FILE }} | ||
use-only-tar-bz2: true | ||
|
||
- name: Environment Detail | ||
run: | | ||
conda info | ||
conda list | ||
|
||
- name: Build Pandas | ||
run: | | ||
python setup.py build_ext -j 2 | ||
python -m pip install -e . --no-build-isolation --no-use-pep517 | ||
|
||
- name: Test | ||
run: ci/run_tests.sh | ||
if: always() | ||
|
||
- 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 | ||
|
||
Linux_py37_cov: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
env: | ||
ENV_FILE: ci/deps/actions-37-cov.yaml | ||
PANDAS_TESTING_MODE: deprecate | ||
COVERAGE: true | ||
|
||
services: | ||
mysql: | ||
image: mysql | ||
env: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: yes | ||
MYSQL_DATABASE: pandas | ||
options: >- | ||
--health-cmd "mysqladmin ping" | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 3306:3306 | ||
|
||
postgres: | ||
image: postgres | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: pandas | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 5432:5432 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Cache conda | ||
uses: actions/cache@v1 | ||
env: | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ~/conda_pkgs_dir | ||
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ | ||
hashFiles('${{ env.ENV_FILE }}') }} | ||
|
||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
activate-environment: pandas-dev | ||
channel-priority: strict | ||
environment-file: ${{ env.ENV_FILE }} | ||
use-only-tar-bz2: true | ||
|
||
- name: Environment Detail | ||
run: | | ||
conda info | ||
conda list | ||
|
||
- name: Build Pandas | ||
run: | | ||
python setup.py build_ext -j 2 | ||
python -m pip install -e . --no-build-isolation --no-use-pep517 | ||
|
||
- name: Test | ||
run: ci/run_tests.sh | ||
if: always() | ||
|
||
- 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 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
dependencies: | ||
- python=3.8.* | ||
|
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
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.
Uh oh!
There was an error while loading. Please reload this page.