Skip to content

Commit eefc0d1

Browse files
ci(github): fix check version in test.yml
1 parent 464e79b commit eefc0d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ jobs:
4545

4646
- name: Check version
4747
run: |
48-
pipx install .
4948
version=$(grep version src/python_cli_template/__init__.py | cut -d'"' -f 2)
5049
set -e
51-
[[ $(python_cli_template --version) == $version ]]
52-
[[ $(python_cli_template -v) == $version ]]
50+
[[ $(python -m python_cli_template --version) == $version ]]
51+
[[ $(python -m python_cli_template -v) == $version ]]
5352
5453
- name: Get help
5554
run: python -m python_cli_template --help

0 commit comments

Comments
 (0)