Skip to content

Commit 260b529

Browse files
ci(github): refactor test.yml
1 parent aa2f154 commit 260b529

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ jobs:
3030

3131
integration:
3232
runs-on: ubuntu-latest
33-
strategy:
34-
matrix:
35-
command:
36-
- python-cli-template
37-
- python-cli-template --name test
3833
steps:
3934
- name: Checkout repository
4035
uses: actions/checkout@v6
@@ -45,9 +40,6 @@ jobs:
4540
- name: Install tool
4641
run: uv tool install .
4742

48-
- name: Run command
49-
run: ${{ matrix.command }}
50-
5143
- name: Get version
5244
run: |
5345
VERSION=$(grep version src/python_cli_template/__init__.py | cut -d'"' -f 2)
@@ -58,3 +50,8 @@ jobs:
5850
set -e
5951
[[ $(python-cli-template --version) == "$VERSION" ]]
6052
[[ $(python-cli-template -v) == "$VERSION" ]]
53+
54+
- name: Run commands
55+
run: |
56+
python-cli-template
57+
python-cli-template --name test

0 commit comments

Comments
 (0)