Skip to content

Commit

Permalink
Run qtconsole test suite as a another downstream project
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jun 8, 2022
1 parent dcb4596 commit 100151f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,48 @@ jobs:
conda install -c conda-forge xeus-cling
pip install -e ".[test]"
python -m unittest -v
qtconsole:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install System Packages
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
- name: Setup conda ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: qtconsole_test
auto-update-conda: false
auto-activate-base: false
channels: conda-forge
channel-priority: strict
miniforge-variant: Mambaforge
python-version: ${{ matrix.python-version }}

- name: Install qtconsole dependencies
shell: bash -l {0}
run: |
cd ${GITHUB_WORKSPACE}/..
git clone https://github.com/jupyter/qtconsole.git
cd qtconsole
pip install -e ".[test]"
pip install pyqt5
- name: Install Jupyter-Client changes
shell: bash -l {0}
run: pip install -e .

- name: Test qtconsole
shell: bash -l {0}
run: |
cd ${GITHUB_WORKSPACE}/../qtconsole
xvfb-run --auto-servernum pytest -x -vv -s --full-trace qtconsole

0 comments on commit 100151f

Please sign in to comment.