Skip to content

Commit

Permalink
Test downstream projects
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Apr 15, 2021
1 parent a6b6be8 commit 8e4bef6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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 pytest nbclient[test] ipyparallel[test]
pip freeze
- name: Run tests
run: |
pytest --pyargs nbclient
pytest --pyargs ipyparallel
2 changes: 1 addition & 1 deletion ipykernel/comm/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _publish_msg(self, msg_type, data=None, metadata=None, buffers=None, **keys)
self.kernel.session.send(self.kernel.iopub_socket, msg_type,
content,
metadata=json_clean(metadata),
parent=self.kernel._parent_header.get('shell', {}),
parent=self.kernel._parent_header,
ident=self.topic,
buffers=buffers,
)
Expand Down

0 comments on commit 8e4bef6

Please sign in to comment.