Skip to content

Commit

Permalink
feat: Add spelling tests to sync
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Oct 17, 2024
1 parent cfd792e commit 528a9b3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ group:
- source: testthat/test-0_rd_files.R
dest: tests/testthat/test-0_rd_files.R
- source: testthat/spelling.R
dest: tests/spelling.R
# Lintr related files
- source: linting/.lintr
dest: .lintr
Expand Down
4 changes: 4 additions & 0 deletions .github/sync_reverse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ ssi-dk/AEF-DDF:
- source: tests/testthat/test-0_rd_files.R
dest: testthat/test-0_rd_files.R

- source: tests/spelling.R
dest: testthat/spelling.R


# Lintr related files
- source: .lintr
dest: linting/.lintr
Expand Down
7 changes: 7 additions & 0 deletions testthat/spelling.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if (rlang::is_installed("spelling") && !Sys.getenv("CI", unset = FALSE)) {
spelling::spell_check_test(
vignettes = TRUE,
error = FALSE,
skip_on_cran = TRUE
)
}

0 comments on commit 528a9b3

Please sign in to comment.