Skip to content

Commit

Permalink
add codespell configuration and CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Feb 25, 2024
1 parent 8235ae9 commit ca79f13
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = *.js,Gemfile.lock,sublime*,*.html
ignore-words-list = bu
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,18 @@ jobs:

- name: Test schema
run: bundle exec run schema

codespell:
name: Spell check

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install OS dependencies
run: sudo apt-get -y install codespell

- name: Run codespell
run: codespell
2 changes: 1 addition & 1 deletion spec/completely/commands/test_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
end
end

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

it 'fails gracefully' do
Expand Down

0 comments on commit ca79f13

Please sign in to comment.