Skip to content

Commit 3544ead

Browse files
author
Steven Silvester
authored
Merge pull request #644 from davidbrochart/test_downstream
Test downstream projects
2 parents 9b482f2 + c7a8877 commit 3544ead

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/workflows/downstream.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Test downstream projects
2+
3+
on:
4+
push:
5+
branches: "*"
6+
pull_request:
7+
branches: "*"
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
17+
- name: Set up Python 3.9
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.9
21+
22+
- name: Install dependencies
23+
run: |
24+
pip install --upgrade pip
25+
pip install .
26+
pip install pyqt5 pytest \
27+
ipykernel[test] \
28+
qtconsole[test] \
29+
nbclient[test] \
30+
nbconvert[test] \
31+
jupyter_server[test]
32+
pip freeze
33+
34+
- name: Test ipykernel
35+
if: ${{ always() }}
36+
run: pytest --pyargs ipykernel
37+
- name: Test nbclient
38+
if: ${{ always() }}
39+
run: IPYKERNEL_CELL_NAME="<IPY-INPUT>" pytest --pyargs nbclient
40+
- name: Test nbconvert
41+
if: ${{ always() }}
42+
run: pytest --pyargs nbconvert
43+
#qtconsole tests disabled because of a core dump
44+
#- name: Test qtconsole
45+
# if: ${{ always() }}
46+
# run: pytest --pyargs qtconsole
47+
#jupyter_server tests disabled because pip package doesn't allow for testing
48+
#see https://github.com/jupyter-server/jupyter_server/issues/563
49+
#- name: Test jupyter_server
50+
# if: ${{ always() }}
51+
# run: pytest --pyargs jupyter_server

0 commit comments

Comments
 (0)