Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add codespell configuration and CI job #63

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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