diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..f95fa4f --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = *.js,Gemfile.lock,sublime*,*.html +ignore-words-list = bu \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 609d8b6..ce6243e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/spec/completely/commands/test_spec.rb b/spec/completely/commands/test_spec.rb index 0c7122b..04a7787 100644 --- a/spec/completely/commands/test_spec.rb +++ b/spec/completely/commands/test_spec.rb @@ -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