Skip to content

Commit 6ab9395

Browse files
committed
Test downstream projects
1 parent a6b6be8 commit 6ab9395

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/downstream.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 pytest nbclient[test] ipyparallel[test]
27+
pip freeze
28+
29+
- name: Run tests
30+
run: |
31+
pytest --pyargs nbclient
32+
pytest --pyargs ipyparallel

0 commit comments

Comments
 (0)