Skip to content

WIP/CI: Debug segfault in ci/code_checks.sh docstrings #44630

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
3275a87
WIP: Debug segfault in ci/code_checks.sh docstrings
mroeschke Nov 26, 2021
1ffab89
Remove from shebang
mroeschke Nov 26, 2021
11f9a61
remove circle CI
mroeschke Nov 26, 2021
377cadf
Revert "remove circle CI"
mroeschke Nov 26, 2021
18cf78a
Commend out more jobs
mroeschke Nov 27, 2021
e552efb
Trigger CI
mroeschke Nov 27, 2021
40bc034
Trigger CI
mroeschke Nov 27, 2021
edae165
Trigger CI
mroeschke Nov 27, 2021
9ba8864
Trigger CI
mroeschke Nov 27, 2021
6a49c82
Trigger CI
mroeschke Nov 27, 2021
37d0588
Trigger CI
mroeschke Nov 27, 2021
44b7926
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 28, 2021
317d1e8
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 28, 2021
945eb54
Trigger CI
mroeschke Nov 28, 2021
0a10314
Trigger CI
mroeschke Nov 28, 2021
057e515
Trigger CI
mroeschke Nov 28, 2021
495deff
Remove shebang and sys.exit to show segfault traceback?
mroeschke Nov 28, 2021
889f42b
Trigger CI
mroeschke Nov 28, 2021
4a017e2
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 28, 2021
ebbad1f
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 28, 2021
35dd9bc
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 29, 2021
1c8e628
Trigger CI
mroeschke Nov 29, 2021
768a2c1
Write to a file and cat it?
mroeschke Nov 29, 2021
e01e647
Trigger CI
mroeschke Nov 29, 2021
2d24805
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 29, 2021
a593a50
Trigger CI
mroeschke Nov 29, 2021
a7fec18
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 29, 2021
dfe05f3
Trigger CI
mroeschke Nov 29, 2021
25a8db9
Trigger CI
mroeschke Nov 30, 2021
907f50b
Trigger CI
mroeschke Nov 30, 2021
13ced23
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 30, 2021
f073f0c
Trigger CI
mroeschke Nov 30, 2021
41b47ba
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Nov 30, 2021
c286263
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Dec 1, 2021
57a433f
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Dec 1, 2021
e1bc3a1
Trigger CI
mroeschke Dec 1, 2021
b74e77b
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Dec 1, 2021
6670477
Trigger CI
mroeschke Dec 1, 2021
b82d72d
Trigger CI
mroeschke Dec 1, 2021
7beb392
Trigger CI
mroeschke Dec 1, 2021
e304884
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Dec 1, 2021
8245b6b
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Dec 2, 2021
2b30c1c
trigger ci
mroeschke Dec 2, 2021
d15274e
Trigger CI
mroeschke Dec 2, 2021
b47c627
Trigger CI
mroeschke Dec 2, 2021
a837131
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Dec 2, 2021
4d4cc1a
Trigger CI
mroeschke Dec 2, 2021
c97c265
Merge remote-tracking branch 'upstream/master' into ci/debug/docstrin…
mroeschke Dec 2, 2021
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
192 changes: 91 additions & 101 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,104 +98,94 @@ jobs:
path: asv_bench/benchmarks.log
if: failure()

web_and_docs:
name: Web and docs
runs-on: ubuntu-latest

concurrency:
# https://github.community/t/concurrecy-not-work-for-push/183068/7
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-web-docs
cancel-in-progress: true

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up pandas
uses: ./.github/actions/setup

- name: Build website
run: |
source activate pandas-dev
python web/pandas_web.py web/pandas --target-path=web/build
- name: Build documentation
run: |
source activate pandas-dev
doc/make.py --warnings-are-errors | tee sphinx.log ; exit ${PIPESTATUS[0]}

# This can be removed when the ipython directive fails when there are errors,
# including the `tee sphinx.log` in te previous step (https://github.com/ipython/ipython/issues/11547)
- name: Check ipython directive errors
run: "! grep -B10 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"

- name: Install ssh key
run: |
mkdir -m 700 -p ~/.ssh
echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "${{ secrets.server_ip }} ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1Kkopomm7FHG5enATf7SgnpICZ4W2bw+Ho+afqin+w7sMcrsa0je7sbztFAV8YchDkiBKnWTG4cRT+KZgZCaY=" > ~/.ssh/known_hosts
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}

- name: Copy cheatsheets into site directory
run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build/

- name: Upload web
run: rsync -az --delete --exclude='pandas-docs' --exclude='docs' web/build/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}

- name: Upload dev docs
run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}

- name: Move docs into site directory
run: mv doc/build/html web/build/docs

- name: Save website as an artifact
uses: actions/upload-artifact@v2
with:
name: website
path: web/build
retention-days: 14

data_manager:
name: Test experimental data manager
runs-on: ubuntu-latest
services:
moto:
image: motoserver/moto
env:
AWS_ACCESS_KEY_ID: foobar_key
AWS_SECRET_ACCESS_KEY: foobar_secret
ports:
- 5000:5000
strategy:
matrix:
pattern: ["not slow and not network and not clipboard", "slow"]
concurrency:
# https://github.community/t/concurrecy-not-work-for-push/183068/7
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-data_manager-${{ matrix.pattern }}
cancel-in-progress: true

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up pandas
uses: ./.github/actions/setup

- name: Run tests
env:
PANDAS_DATA_MANAGER: array
PATTERN: ${{ matrix.pattern }}
PYTEST_WORKERS: "auto"
PYTEST_TARGET: pandas
run: |
source activate pandas-dev
ci/run_tests.sh

- name: Print skipped tests
run: python ci/print_skipped.py
# web_and_docs:
# name: Web and docs
# runs-on: ubuntu-latest
#
# concurrency:
# group: ${{ github.ref }}-web-docs
# cancel-in-progress: true
#
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
#
# - name: Set up pandas
# uses: ./.github/actions/setup
#
# - name: Build website
# run: |
# source activate pandas-dev
# python web/pandas_web.py web/pandas --target-path=web/build
# - name: Build documentation
# run: |
# source activate pandas-dev
# doc/make.py --warnings-are-errors | tee sphinx.log ; exit ${PIPESTATUS[0]}
#
# # This can be removed when the ipython directive fails when there are errors,
# # including the `tee sphinx.log` in te previous step (https://github.com/ipython/ipython/issues/11547)
# - name: Check ipython directive errors
# run: "! grep -B10 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"
#
# - name: Install ssh key
# run: |
# mkdir -m 700 -p ~/.ssh
# echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa
# chmod 600 ~/.ssh/id_rsa
# echo "${{ secrets.server_ip }} ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1Kkopomm7FHG5enATf7SgnpICZ4W2bw+Ho+afqin+w7sMcrsa0je7sbztFAV8YchDkiBKnWTG4cRT+KZgZCaY=" > ~/.ssh/known_hosts
# if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
#
# - name: Copy cheatsheets into site directory
# run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build/
#
# - name: Upload web
# run: rsync -az --delete --exclude='pandas-docs' --exclude='docs' web/build/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas
# if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
#
# - name: Upload dev docs
# run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev
# if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
#
# - name: Move docs into site directory
# run: mv doc/build/html web/build/docs
#
# - name: Save website as an artifact
# uses: actions/upload-artifact@v2
# with:
# name: website
# path: web/build
# retention-days: 14
#
# data_manager:
# name: Test experimental data manager
# runs-on: ubuntu-latest
# strategy:
# matrix:
# pattern: ["not slow and not network and not clipboard", "slow"]
# concurrency:
# group: ${{ github.ref }}-data_manager-${{ matrix.pattern }}
# cancel-in-progress: true
#
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
#
# - name: Set up pandas
# uses: ./.github/actions/setup
#
# - name: Run tests
# env:
# PANDAS_DATA_MANAGER: array
# PATTERN: ${{ matrix.pattern }}
# PYTEST_WORKERS: "auto"
# PYTEST_TARGET: pandas
# run: |
# source activate pandas-dev
# ci/run_tests.sh
#
# - name: Print skipped tests
# run: python ci/print_skipped.py
121 changes: 0 additions & 121 deletions .github/workflows/database.yml

This file was deleted.

Loading