Skip to content

Commit 4b77adb

Browse files
authored
CI: run CLI after install (#14659)
1 parent 6e21f46 commit 4b77adb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/actions/pkg-install/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ runs:
3131
pip install *.tar.gz ${{ inputs.pip-flags }}
3232
pip list | grep lightning
3333
python -c "import ${PKG_NAME} ; print(${PKG_NAME}.__version__)"
34-
pip uninstall -y ${PKG_NAME}
3534
shell: bash
3635

3736
- name: Install | Uninstall package - wheel
@@ -40,5 +39,4 @@ runs:
4039
pip install *.whl ${{ inputs.pip-flags }}
4140
pip list | grep lightning
4241
python -c "import ${PKG_NAME} ; print(${PKG_NAME}.__version__)"
43-
pip uninstall -y ${PKG_NAME}
4442
shell: bash

.github/workflows/ci-pkg-install.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ jobs:
9696
pkg-name: "lightning"
9797
pip-flags: "-U --pre --find-links ../pypi/"
9898

99+
- name: Run CLI
100+
run: python -m lightning --version
101+
99102
install-meta-pypi:
100103
runs-on: ${{ matrix.os }}
101104
strategy:
@@ -143,3 +146,6 @@ jobs:
143146
with:
144147
pkg-name: "lightning"
145148
pip-flags: "-U --pre --find-links ../pypi/"
149+
150+
- name: Run CLI
151+
run: python -m lightning --version

0 commit comments

Comments
 (0)