File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 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 pytest pytest-asyncio pytest-tornado
26+ pip install nbclient[test]
27+ pip install --pre -U --upgrade-strategy=only-if-needed nbclient
28+ pip install ipyparallel[test]
29+ pip install --pre -U --upgrade-strategy=only-if-needed ipyparallel
30+ pip install jupyter_client[test]
31+ pip install --pre -U --upgrade-strategy=only-if-needed jupyter_client
32+ pip install . --force-reinstall
33+ pip freeze
34+ python -c 'import ipykernel; print("ipykernel", ipykernel.__version__)'
35+
36+ - name : Test nbclient
37+ if : ${{ always() }}
38+ run : IPYKERNEL_CELL_NAME="<IPY-INPUT>" pytest --pyargs nbclient
39+ - name : Test ipyparallel
40+ if : ${{ always() }}
41+ run : pytest --pyargs ipyparallel
42+ - name : Test jupyter_client
43+ if : ${{ always() }}
44+ run : pytest --pyargs jupyter_client
You can’t perform that action at this time.
0 commit comments