File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -43,20 +43,16 @@ jobs:
43
43
cache : pip
44
44
python-version : 3
45
45
46
- - name : Install package
47
- run : pipx install .
48
-
49
46
- name : Check version
50
47
run : |
51
- set -e
48
+ pipx install .
52
49
version=$(grep version src/python_cli_template/__init__.py | cut -d'"' -f 2)
53
- [[ $(python -m python_cli_template --version) == $version ]]
54
- [[ $(python -m python_cli_template -v) == $version ]]
50
+ set -e
55
51
[[ $(python_cli_template --version) == $version ]]
56
52
[[ $(python_cli_template -v) == $version ]]
57
53
58
54
- name : Get help
59
- run : python_cli_template --help
55
+ run : python -m python_cli_template --help
60
56
61
57
- name : Execute CLI
62
- run : python_cli_template --name test
58
+ run : python -m python_cli_template --name test
You can’t perform that action at this time.
0 commit comments