Skip to content

Commit

Permalink
Added spelling action. Fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
bschroeter committed Jul 3, 2024
1 parent e25fcca commit 7c9593a
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Continuous Integration
name: CI pytest

on: [push]

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/ci_spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CI Spelling
on:
pull_request:
jobs:
check-spelling:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check Spelling
uses: rojopolis/[email protected]
with:
config_path: .spellcheck.yml
task_name: Markdown
26 changes: 26 additions & 0 deletions .spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
matrix:
- name: Markdown
expect_match: false
apsell:
mode: en
dictionary:
wordlists:
- .wordlist.txt
output: wordlist.dic
encoding: utf-8
pipeline:
- pyspelling.filters.markdown:
markdown_extensions:
- markdown.extensions.extra:
- pyspelling.filters.html:
comments: false
attributes:
- alt
ignores:
- ':matches(code, pre)'
- 'code'
- 'pre'
- 'blockquote'
sources:
- '*.md'
- 'docs/**/*.md'

0 comments on commit 7c9593a

Please sign in to comment.