Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 7eee906

Browse files
committed
fix merge
1 parent dfaf088 commit 7eee906

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/code.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ jobs:
101101
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) && \
102102
pipx run build
103103
104-
# ${GITHUB_REPOSITORY##*/} is the repo name without org
105-
# Replace this with the cli command if different to the repo name
106-
- name: Test cli works using the wheel installed in local python
104+
- name: Test module --version works using the installed wheel
107105
run: |
108106
touch requirements.txt
109107
pip install -r requirements.txt dist/*.whl
110-
${GITHUB_REPOSITORY##*/} --version
108+
# replace with module name if necessary
109+
MODULE=$(ls src | head -1) && \
110+
python -m ${MODULE} --version
111111
112112
- name: Test Publish to PyPI
113113
env:

0 commit comments

Comments
 (0)