Skip to content

Commit

Permalink
Merge pull request #635 from davidbrochart/test_downstream
Browse files Browse the repository at this point in the history
Test downstream projects
  • Loading branch information
blink1073 authored Aug 23, 2021
2 parents cae2d3d + 9ad45d0 commit db5f708
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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 pytest pytest-asyncio pytest-tornado
pip install nbclient[test]
pip install --pre -U --upgrade-strategy=only-if-needed nbclient
pip install ipyparallel[test]
pip install --pre -U --upgrade-strategy=only-if-needed ipyparallel
pip install jupyter_client[test]
pip install --pre -U --upgrade-strategy=only-if-needed jupyter_client
pip install . --force-reinstall
pip freeze
python -c 'import ipykernel; print("ipykernel", ipykernel.__version__)'
- name: Test nbclient
if: ${{ always() }}
run: IPYKERNEL_CELL_NAME="<IPY-INPUT>" pytest --pyargs nbclient
- name: Test ipyparallel
if: ${{ always() }}
run: pytest --pyargs ipyparallel
- name: Test jupyter_client
if: ${{ always() }}
run: pytest --pyargs jupyter_client

0 comments on commit db5f708

Please sign in to comment.