Skip to content

Commit 285d3b9

Browse files
committed
formatting
1 parent ff78650 commit 285d3b9

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ runs:
1616
- name: set up venv
1717
shell: bash
1818
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}}"
2626
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
3434
35-
# Test the downstream package
36-
pytest ${pytest_args}
35+
# Test the downstream package
36+
pytest ${pytest_args}
3737
38-
# Cleanup
39-
rm -rf ./test_venv
38+
# Cleanup
39+
rm -rf ./test_venv

.github/workflows/downstream.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
package_name: ipykernel
2424
package_spec: "pyqt5 ipykernel[test]"
2525

26-
2726
- name: Test NBClient
2827
uses: ./.github/actions/test-downstream
2928
with:

0 commit comments

Comments
 (0)