File tree Expand file tree Collapse file tree 2 files changed +18
-19
lines changed Expand file tree Collapse file tree 2 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,24 @@ runs:
16
16
- name : set up venv
17
17
shell : bash
18
18
run : |
19
- set -x
20
- # Set up env values
21
- package_spec="${{inputs.package_spec}}"
22
- package_spec=${package_spec:-"${{inputs.package_name}}[test]"}
23
- pytest_args="${{inputs.pytest_args}}"
24
- pytest_args=${pytest_args:-"--pyargs ${{inputs.package_name}}"}
25
- eval "${{inputs.env_values}}"
19
+ set -x
20
+ # Set up env values
21
+ package_spec="${{inputs.package_spec}}"
22
+ package_spec=${package_spec:-"${{inputs.package_name}}[test]"}
23
+ pytest_args="${{inputs.pytest_args}}"
24
+ pytest_args=${pytest_args:-"--pyargs ${{inputs.package_name}}"}
25
+ eval "${{inputs.env_values}}"
26
26
27
- # Set up venv
28
- python -m venv test_venv
29
- export PATH=$(pwd)/test_venv/bin:$PATH
30
- python -m pip install -U pip
31
- python -m pip install ${package_spec}
32
- python -m pip install . --force-reinstall
33
- cd $HOME
27
+ # Set up venv
28
+ python -m venv test_venv
29
+ export PATH=$(pwd)/test_venv/bin:$PATH
30
+ python -m pip install -U pip
31
+ python -m pip install ${package_spec}
32
+ python -m pip install . --force-reinstall
33
+ cd $HOME
34
34
35
- # Test the downstream package
36
- pytest ${pytest_args}
35
+ # Test the downstream package
36
+ pytest ${pytest_args}
37
37
38
- # Cleanup
39
- rm -rf ./test_venv
38
+ # Cleanup
39
+ rm -rf ./test_venv
Original file line number Diff line number Diff line change 23
23
package_name : ipykernel
24
24
package_spec : " pyqt5 ipykernel[test]"
25
25
26
-
27
26
- name : Test NBClient
28
27
uses : ./.github/actions/test-downstream
29
28
with :
You can’t perform that action at this time.
0 commit comments