Skip to content

Commit f688840

Browse files
author
Trevor Keller
authored
fix CI errors (#35)
* fix spelling errors * renumber episodes to close gap * only skip book texts
1 parent 7058af9 commit f688840

File tree

14 files changed

+16
-13
lines changed

14 files changed

+16
-13
lines changed

.github/workflows/test_and_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
pip3 install codespell
2121
- name: Check spelling
2222
run: |
23-
codespell --skip="assets,*.svg,bin" --quiet-level=2 -L "rouge,dropse,namd,hist"
23+
codespell --skip="assets,.bundle,_site,*.svg,*.txt,.vendor" --quiet-level=2 -L "dropse,hart,hist,namd,rouge"
2424
2525
check_lesson_and_build_default:
2626
runs-on: ubuntu-latest

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ workshop-check :
9797
## III. Commands specific to lesson websites
9898
## =================================================
9999

100-
.PHONY : lesson-check lesson-md lesson-files lesson-fixme
100+
.PHONY : lesson-check lesson-md lesson-files lesson-fixme spellcheck
101101

102102
# RMarkdown files
103103
RMD_SRC = $(wildcard _episodes_rmd/??-*.Rmd)
@@ -137,6 +137,9 @@ lesson-check : lesson-fixme
137137
lesson-check-all :
138138
@${PYTHON} bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w --permissive
139139

140+
spellcheck:
141+
codespell --skip="assets,.bundle,_site,*.svg,*.txt,.vendor" --quiet-level=2 -L "dropse,hart,hist,namd,rouge"
142+
140143
## * unittest : run unit tests on checking tools
141144
unittest :
142145
@${PYTHON} bin/test_lesson_check.py

_config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ episode_order:
2525
- 04-dicts
2626
- 05-functions
2727
- 06-parallel
28-
- 11-snakemake-intro
29-
- 12-snakefiles
30-
- 13-wildcards
31-
- 14-patterns
32-
- 15-snakemake-python
33-
- 16-resources
34-
- 17-cluster
35-
- 18-final-notes
28+
- 07-snakemake-intro
29+
- 08-snakefiles
30+
- 09-wildcards
31+
- 10-patterns
32+
- 11-snakemake-python
33+
- 12-resources
34+
- 13-cluster
35+
- 14-final-notes
3636

3737
#------------------------------------------------------------
3838
# Generic settings (should not need to change).
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)