-
-
Couldn't load subscription status.
- Fork 19.2k
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 15 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,94 @@ | ||
| name: Database | ||
| | ||
| on: | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| - 1.1.x | ||
| | ||
| env: | ||
| PYTEST_WORKERS: "auto" | ||
| SQL: 1 | ||
| | ||
| jobs: | ||
| Linux_py38_slow: | ||
| name: Linux_py38_slow | ||
| runs-on: ubuntu-latest | ||
| | ||
| env: | ||
| CONDA_PY: "38" | ||
| ENV_FILE: ci/deps/actions-38-slow.yaml | ||
| PATTERN: slow | ||
| | ||
| defaults: | ||
| run: | ||
| shell: bash -l {0} | ||
| | ||
| services: | ||
| postgres: | ||
| image: postgres | ||
| | ||
| env: | ||
| POSTGRES_USER: postgres | ||
| POSTGRES_PASSWORD: postgres | ||
| POSTGRES_DB: pandas_nosetest | ||
| | ||
| ports: | ||
| - 5432/tcp | ||
| | ||
| options: >- | ||
| --health-cmd pg_isready | ||
| --health-interval 10s | ||
| --health-timeout 5s | ||
| --health-retries 5 | ||
| | ||
| steps: | ||
| | ||
| - name: Setting conda path | ||
| run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH | ||
| | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| | ||
| # - name: Start MySQL | ||
| # run: | ||
| # sudo systemctl enable mysql.service | ||
| # sudo systemctl start mysql.service | ||
| | ||
| - name: Cache conda | ||
| uses: actions/cache@v1 | ||
| env: | ||
| # Increase this value to reset cache if the environment file has not changed | ||
| CACHE_NUMBER: 0 | ||
| with: | ||
| path: ~/conda_pkgs_dir | ||
| key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ | ||
| hashFiles('ci/deps/actions-38-slow.yaml') }} | ||
| | ||
| - uses: conda-incubator/setup-miniconda@v2 | ||
| with: | ||
| activate-environment: pandas-dev | ||
| channel-priority: strict | ||
| environment-file: ${{ env.ENV_FILE }} | ||
| use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly! | ||
| | ||
| - 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
| 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
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.