Skip to content

Commit 06419d2

Browse files
committed
test everything
1 parent f12b076 commit 06419d2

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

.github/actions/test-downstream/action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
package_spec=${package_spec:-"${{inputs.package_name}}[test]"}
2323
pytest_args="${{inputs.pytest_args}}"
2424
pytest_args=${pytest_args:-"--pyargs ${{inputs.package_name}}"}
25-
env_values=${{ inputs.env_values }}
25+
eval ${{inputs.env_values}}
2626
2727
# Set up venv
2828
python -m venv test_venv
@@ -32,10 +32,6 @@ runs:
3232
${bin_dir}/python -m pip install . --force-reinstall
3333
3434
# Test the downstream package
35-
if [ -z ${env_values} ]; then
36-
eval ${env_values}
37-
fi
38-
3935
${bin_dir}/pytest ${pytest_args}
4036
4137
# Cleanup

.github/workflows/downstream.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,29 @@ jobs:
1717
- name: Base Setup
1818
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
1919

20-
- name: Test Ipykernel
20+
- name: Test IPykernel
2121
uses: ./.github/actions/test-downstream
2222
with:
2323
package_name: ipykernel
24+
package_spec: "pyqt5 ipykernel[test]"
25+
26+
- name: Test NBClient
27+
uses: ./.github/actions/test-downstream
28+
with:
29+
package_name: nbclient
30+
env_values: "IPYKERNEL_CELL_NAME="<IPY-INPUT>"
31+
32+
- name: Test QtConsole
33+
uses: ./.github/actions/test-downstream
34+
with:
35+
package_name: qtconsole
36+
37+
- name: Test nbconvert
38+
uses: ./.github/actions/test-downstream
39+
with:
40+
package_name: nbconvert
41+
42+
- name: Test jupyter_server
43+
uses: ./.github/actions/test-downstream
44+
with:
45+
package_name: jupyter_server

0 commit comments

Comments
 (0)