Skip to content

Commit ca79f13

Browse files
committed
add codespell configuration and CI job
1 parent 8235ae9 commit ca79f13

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.codespellrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
skip = *.js,Gemfile.lock,sublime*,*.html
3+
ignore-words-list = bu

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,18 @@ jobs:
6262

6363
- name: Test schema
6464
run: bundle exec run schema
65+
66+
codespell:
67+
name: Spell check
68+
69+
runs-on: ubuntu-latest
70+
71+
steps:
72+
- name: Checkout code
73+
uses: actions/checkout@v4
74+
75+
- name: Install OS dependencies
76+
run: sudo apt-get -y install codespell
77+
78+
- name: Run codespell
79+
run: codespell

spec/completely/commands/test_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
end
7878
end
7979

80-
context 'when there is no compeltely.yaml or COMPLETELY_CONFIG_PATH' do
80+
context 'when there is no completely.yaml or COMPLETELY_CONFIG_PATH' do
8181
before { system 'rm -f completely.yaml' }
8282

8383
it 'fails gracefully' do

0 commit comments

Comments
 (0)