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