Skip to content

Commit 0d0b09c

Browse files
committed
ci: add doctor command
1 parent 63e7030 commit 0d0b09c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/test-install.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,22 @@ on:
77

88
env:
99
BIN_PATH: ${{ github.workspace }}/bin
10-
INIT_ARGS: --depth 1 --apply --exclude=encrypted --exclude=externals --exclude=scripts --promptDefaults
10+
INIT_ARGS: >
11+
--destination ${{ github.workspace }}/chezmoi
12+
--apply
13+
--depth 1
14+
--exclude=encrypted
15+
--exclude=externals
16+
--exclude=scripts
17+
--promptDefaults
18+
--no-tty
19+
--color=false
20+
--verbose
21+
DOCTOR_ARGS: >
22+
--keep-going
23+
--no-tty
24+
--color=false
25+
--verbose
1126
1227
jobs:
1328
test:
@@ -27,3 +42,6 @@ jobs:
2742
- name: Init chezmoi
2843
shell: bash
2944
run: ${{ env.BIN_PATH }}/chezmoi init ${{ github.repository_owner }} ${{ env.INIT_ARGS }}
45+
- name: Chezmoi doctor
46+
shell: bash
47+
run: ${{ env.BIN_PATH }}/chezmoi doctor ${{ env.DOCTOR_ARGS }}

0 commit comments

Comments
 (0)