Skip to content

Commit db5f708

Browse files
authored
Merge pull request #635 from davidbrochart/test_downstream
Test downstream projects
2 parents cae2d3d + 9ad45d0 commit db5f708

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/downstream.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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

0 commit comments

Comments
 (0)