Skip to content

Commit

Permalink
ci: Add spell check to the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubnowicki committed Feb 23, 2023
1 parent f04e18e commit 3294ea7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ jobs:
lints <- lintr::lint_package()
for (lint in lints) print(lint)
quit(status = length(lints) > 0)
- name: Spell Check
if : always()
shell: Rscript {0}
run: |
spell_check <- spelling::spell_check_package(use_wordlist = TRUE)
if (nrow(spell_check) > 0) {
print(spell_check)
}
quit(status = nrow(spell_check) > 0)
- name: Test coverage
if: matrix.config.os == 'ubuntu-22.04' && matrix.config.r == 'release'
run: |
Expand Down
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ Suggests:
covr,
lintr,
rcmdcheck,
spelling,
testthat

0 comments on commit 3294ea7

Please sign in to comment.