Skip to content

Commit 4635125

Browse files
committed
Add one more step about displaying Python package info via Poetry.
1 parent 9bbbb58 commit 4635125

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pre-building_test.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
7070
if: ${{ inputs.build-type == 'setuptools' }}
7171
run: python3 setup.py install --user || exit 1
7272

73+
- name: Show the Python package information
74+
if: ${{ inputs.build-type == 'setuptools' }}
75+
run: pip3 show ${{ inputs.python_package_name }}
76+
7377
- name: Install Python dependencies by Poetry
7478
if: ${{ inputs.build-type == 'poetry' }}
7579
run: |
@@ -83,8 +87,9 @@ jobs:
8387
poetry build
8488
poetry run pip3 install ./dist/*.whl || exit 1
8589
86-
- name: Show the Python package information
87-
run: pip3 show ${{ inputs.python_package_name }}
90+
- name: Show the Python package information via Poetry
91+
if: ${{ inputs.build-type == 'poetry' }}
92+
run: poetry run pip3 show ${{ inputs.python_package_name }}
8893

8994
- name: Test to run script with package '${{ inputs.python_package_name }}' in command lines
9095
if: ${{ inputs.test_shell != '' }}

0 commit comments

Comments
 (0)