Skip to content

Commit 7dc40a5

Browse files
nievesmonterodebarshiray
authored andcommitted
build, playbooks: Add a test that runs codespell
containers#1146 Signed-off-by: Nieves Montero <[email protected]>
1 parent 9204d90 commit 7dc40a5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

meson.build

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ endif
1515

1616
go = find_program('go')
1717
go_md2man = find_program('go-md2man')
18+
19+
codespell = find_program('codespell', required: false)
1820
shellcheck = find_program('shellcheck', required: false)
1921
skopeo = find_program('skopeo', required: false)
2022

@@ -53,6 +55,10 @@ endif
5355

5456
toolbox_sh = files('toolbox')
5557

58+
if codespell.found()
59+
test('codespell', codespell, args: ['--skip', meson.project_build_root(), meson.project_source_root()])
60+
endif
61+
5662
if shellcheck.found()
5763
test('shellcheck toolbox (deprecated)', shellcheck, args: [toolbox_sh])
5864
endif

playbooks/dependencies.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- ShellCheck
77
- bash-completion
88
- bats
9+
- codespell
910
- fish
1011
- flatpak-session-helper
1112
- golang

0 commit comments

Comments
 (0)