File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ pull_request_rules:
2
2
- name : automatic merge for Dependabot pull requests
3
3
conditions :
4
4
- author=dependabot[bot]
5
+ - check-success=build
5
6
- check-success=commitlint
6
7
- check-success=lint
7
- - check-success=test
8
8
- ' title~=^build\(deps-dev\): bump '
9
9
actions :
10
10
merge :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ permissions:
5
5
contents : read
6
6
7
7
jobs :
8
- test :
8
+ unit :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout repository
30
30
uses : codecov/codecov-action@v5
31
31
with :
32
32
token : ${{ secrets.CODECOV_TOKEN }}
33
+
34
+ integration :
35
+ runs-on : ubuntu-latest
36
+ steps :
37
+ - name : Checkout repository
38
+ uses : actions/checkout@v4
39
+
40
+ - name : Use Python
41
+ uses : actions/setup-python@v5
42
+ with :
43
+ cache : pip
44
+ python-version : 3
45
+
46
+ - name : Install package
47
+ run : pipx install .
48
+
49
+ - name : Check version
50
+ run : |
51
+ set -e
52
+ version=$(python -c 'import python_cli_template; print(python_cli_template.__version__)')
53
+ [[ $(python -m python_cli_template --version) == $version ]]
54
+ [[ $(python -m python_cli_template -v) == $version ]]
55
+ [[ $(python_cli_template --version) == $version ]]
56
+ [[ $(python_cli_template -v) == $version ]]
57
+
58
+ - name : Get help
59
+ run : python_cli_template --help
60
+
61
+ - name : Execute CLI
62
+ run : python_cli_template --name test
You can’t perform that action at this time.
0 commit comments