Skip to content
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

Test spyder kernels #1080

Merged
merged 2 commits into from
Jan 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches: ["main"]
pull_request:
schedule:
- cron: "0 0 * * *"

concurrency:
group: ci-${{ github.ref }}
Expand Down
37 changes: 33 additions & 4 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: "x64"

- name: Install System Packages
run: |
sudo apt-get update
Expand All @@ -109,16 +107,46 @@ jobs:
cd qtconsole
${pythonLocation}/bin/python -m pip install -e ".[test]"
${pythonLocation}/bin/python -m pip install pyqt5
- name: Install Jupyter-Client changes
- name: Install Ipykernel changes
shell: bash -l {0}
run: ${pythonLocation}/bin/python -m pip install -e .

- name: Test qtconsole
shell: bash -l {0}
run: |
cd ${GITHUB_WORKSPACE}/../qtconsole
xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes qtconsole

spyder_kernels:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: "x64"
- name: Install System Packages
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libegl1-mesa
- name: Install spyder-kernels dependencies
shell: bash -l {0}
run: |
cd ${GITHUB_WORKSPACE}/..
git clone https://github.com/spyder-ide/spyder-kernels.git
cd spyder-kernels
${pythonLocation}/bin/python -m pip install -e ".[test]"
- name: Install IPykernel changes
shell: bash -l {0}
run: ${pythonLocation}/bin/python -m pip install -e .
- name: Test spyder-kernels
shell: bash -l {0}
run: |
cd ${GITHUB_WORKSPACE}/../spyder-kernels
xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes spyder_kernels

downstream_check: # This job does nothing and is only used for the branch protection
if: always()
needs:
Expand All @@ -127,6 +155,7 @@ jobs:
- jupyter_client
- ipyparallel
- jupyter_kernel_test
- spyder_kernels
- qtconsole
runs-on: ubuntu-latest
steps:
Expand Down